diff options
author | hallmark9 <taotang@yahoo.com> | 2012-12-19 22:02:06 -0500 |
---|---|---|
committer | hallmark9 <taotang@yahoo.com> | 2012-12-19 22:02:06 -0500 |
commit | aaa43d4e6c99a9683a0b817a6b1bf461134d2391 (patch) | |
tree | 40911cf7d7bc9a5b964dbf0d80c60ed692232adf | |
parent | a506293e4196d480cca8149a7269f1e003ff8f7f (diff) | |
download | traccar-server-aaa43d4e6c99a9683a0b817a6b1bf461134d2391.tar.gz traccar-server-aaa43d4e6c99a9683a0b817a6b1bf461134d2391.tar.bz2 traccar-server-aaa43d4e6c99a9683a0b817a6b1bf461134d2391.zip |
Make log entry timestamp in 24-hour format.
-rw-r--r-- | src/org/traccar/Server.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java index 96d994fbd..3b22e8f2d 100644 --- a/src/org/traccar/Server.java +++ b/src/org/traccar/Server.java @@ -184,7 +184,7 @@ public class Server { System.getProperty("line.separator", "\n"); private final DateFormat dateFormat = - new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); public String format(LogRecord record) { StringBuffer line = new StringBuffer(); |