aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-04 16:54:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-04 16:54:02 +1200
commit263fa7e52ae495b6cc05b045754940f2a342a706 (patch)
treeab7f43ed0da7165d718b8bb419cf87fe9397dffb /src/org
parent348af61e012cd645a253b54a3938fbcaef205dba (diff)
downloadtrackermap-server-263fa7e52ae495b6cc05b045754940f2a342a706.tar.gz
trackermap-server-263fa7e52ae495b6cc05b045754940f2a342a706.tar.bz2
trackermap-server-263fa7e52ae495b6cc05b045754940f2a342a706.zip
Fix incorrect time issue
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/web/JsonConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/web/JsonConverter.java b/src/org/traccar/web/JsonConverter.java
index d01b91536..cdcd492b8 100644
--- a/src/org/traccar/web/JsonConverter.java
+++ b/src/org/traccar/web/JsonConverter.java
@@ -37,7 +37,7 @@ import org.traccar.model.MiscFormatter;
public class JsonConverter {
- private static final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
+ private static final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
public static Date parseDate(String value) throws ParseException {
return dateFormat.parse(value);