aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhallmark9 <taotang@yahoo.com>2012-12-19 22:02:06 -0500
committerhallmark9 <taotang@yahoo.com>2012-12-19 22:02:06 -0500
commitaaa43d4e6c99a9683a0b817a6b1bf461134d2391 (patch)
tree40911cf7d7bc9a5b964dbf0d80c60ed692232adf
parenta506293e4196d480cca8149a7269f1e003ff8f7f (diff)
downloadtraccar-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.java2
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();