Roger Hayter <[EMAIL PROTECTED]> writes:

> As subject: Cosmetic bug in
> http://node_ip:8888/servlet/nodeinfo/internal/logs
> 
> 
> The time format seems to be in a 12 hour clock. e.g. the log correctly
> records a time as 18:50:30 in local time. It is shown in nodeinfo as
> 06:00:00.

Hey, this was easy. The patch:

Index: LoggerInfolet.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/http/infolets/LoggerInfolet.java,v
retrieving revision 1.3
diff -u -r1.3 LoggerInfolet.java
--- LoggerInfolet.java  17 Jul 2002 16:46:28 -0000      1.3
+++ LoggerInfolet.java  12 Oct 2002 21:18:56 -0000
@@ -15,7 +15,7 @@
     public static final int BUFFER_SIZE = 20;
 
     private static final SimpleDateFormat sdf = 
-        new SimpleDateFormat("hh:mm:ss");
+        new SimpleDateFormat("HH:mm:ss");
 
     private BufferLoggerHook buffer;
 


-- 
Robbe

Attachment: signature.ng
Description: PGP signature

Reply via email to