• Bug#257622: Patch

    From Gary Hennigan@1:229/2 to All on Mon Aug 16 22:40:16 2004
    From: [email protected]

    Here's a patch to fix this. I just took a patch available via the
    statcvs sourceforge site and found where to apply it for the Debian
    version.

    There are probably better solutions, but this one works and I didn't
    have to program it.

    Gary

    --- src/net/sf/statcvs/util/DateUtils.java 2003-04-13 17:04:49.000000000 -0600
    +++ src/net/sf/statcvs/util/DateUtils.java 2004-08-16 13:16:33.000000000 -0600
    @@ -38,10 +38,14 @@
    public class DateUtils {
    private static final String LOG_TIMESTAMP_FORMAT =
    "yyyy/MM/dd HH:mm:ss zzz";
    + private static final String LOG_TIMESTAMP_FORMAT_NEW =
    + "yyyy-MM-dd HH:mm:ss Z zzz";
    private static final Locale LOG_TIMESTAMP_LOCALE = Locale.US;

    private static SimpleDateFormat logTimeFormat =
    new SimpleDateFormat(LOG_TIMESTAMP_FORMAT, LOG_TIMESTAMP_LOCALE);
    + private static SimpleDateFormat logTimeFormatNew =
    + new SimpleDateFormat(LOG_TIMESTAMP_FORMAT_NEW, LOG_TIMESTAMP_LOCALE);
    private static SimpleDateFormat outputDateFormat =
    new SimpleDateFormat(Messages.getString("DATE_FORMAT"));
    private static SimpleDateFormat outputDateTimeFormat =
    @@ -81,10 +85,13 @@
    */