diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-04 16:54:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-04 16:54:02 +1200 |
commit | 263fa7e52ae495b6cc05b045754940f2a342a706 (patch) | |
tree | ab7f43ed0da7165d718b8bb419cf87fe9397dffb /src/org | |
parent | 348af61e012cd645a253b54a3938fbcaef205dba (diff) | |
download | trackermap-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.java | 2 |
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); |