aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parenta506293e4196d480cca8149a7269f1e003ff8f7f (diff)
downloadtrackermap-server-aaa43d4e6c99a9683a0b817a6b1bf461134d2391.tar.gz
trackermap-server-aaa43d4e6c99a9683a0b817a6b1bf461134d2391.tar.bz2
trackermap-server-aaa43d4e6c99a9683a0b817a6b1bf461134d2391.zip
Make log entry timestamp in 24-hour format.
Diffstat (limited to 'src')
-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();