Someone was kind enough to point out that I should be using the unified
format for diff, so here's the patch again in that format.
Thanks,
--jeff
----- Original Message -----
From: "Jeff Kilbride" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 7:29 PM
Subject: [PATCH] TC 3.2.2 Timestamp format in Logger.java
> Hi All,
>
> This is my first attempt at using diff and submitting a patch, so I chose
> something *extremely* simple.
>
> Logger.java in TC 3.2.2 has the timestamp format using a 12-hour clock
with
> no am/pm designation, so it's difficult to tell afternoon from early
morning
> times ( 03 could mean 3am or 3pm). This annoyed me enough when looking at
my
> log files to make me want to learn how to submit a patch!
>
> Please let me know if this is in the right format or if I'm missing
anything
> that should be included in future patch submissions.
>
> Thanks,
> --jeff
>
>
--- Logger.java.orig Thu Jul 6 17:20:17 2000
+++ Logger.java Thu May 31 21:15:38 2001
@@ -411,9 +411,9 @@
protected boolean timestampRaw = false;
/**
- * The timestamp format string, default is "yyyy-MM-dd hh:mm:ss"
+ * The timestamp format string, default is "yyyy-MM-dd HH:mm:ss"
**/
- protected String timestampFormat = "yyyy-MM-dd hh:mm:ss";
+ protected String timestampFormat = "yyyy-MM-dd HH:mm:ss";
protected SimpleDateFormat timestampFormatter
= new SimpleDateFormat(timestampFormat);