From a3ba9683862394b2c84fb18f8ceb928e6dffcab0 Mon Sep 17 00:00:00 2001 From: jrandom <jrandom> Date: Mon, 4 Oct 2004 01:17:01 +0000 Subject: [PATCH] 24h time --- core/java/src/net/i2p/stat/StatLogSplitter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/src/net/i2p/stat/StatLogSplitter.java b/core/java/src/net/i2p/stat/StatLogSplitter.java index 2a40545402..ca9c357909 100644 --- a/core/java/src/net/i2p/stat/StatLogSplitter.java +++ b/core/java/src/net/i2p/stat/StatLogSplitter.java @@ -18,7 +18,7 @@ import java.util.Map; * favorite plotting tool) */ public class StatLogSplitter { - private static final String DATE_FORMAT = "yyyyMMdd hh:mm:ss.SSS"; + private static final String DATE_FORMAT = "yyyyMMdd HH:mm:ss.SSS"; private static SimpleDateFormat _fmt = new SimpleDateFormat(DATE_FORMAT); public static void main(String args[]) { if (args.length != 1) { @@ -56,7 +56,8 @@ public class StatLogSplitter { } FileWriter out = (FileWriter)outputFiles.get(stat); double s = (when.getTime()-first)/1000.0; - out.write(s + " " + val + "\n"); + //long s = when.getTime(); + out.write(s + " " + val + " [" + line + "]\n"); out.flush(); } catch (ParseException pe) { continue; -- GitLab