diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-04-18 22:30:15 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-04-18 22:30:15 -0700 |
commit | f458cbe473bdc49157415a8bfc6441afd86b670e (patch) | |
tree | 787a8c80cb6ad16c5aaae06ecf81ffbdec2fa126 /src/main/java/org/traccar/model | |
parent | 03169baaea991d3c343a65ebac3eb3242d743fd0 (diff) | |
download | trackermap-server-f458cbe473bdc49157415a8bfc6441afd86b670e.tar.gz trackermap-server-f458cbe473bdc49157415a8bfc6441afd86b670e.tar.bz2 trackermap-server-f458cbe473bdc49157415a8bfc6441afd86b670e.zip |
Option to force time override
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r-- | src/main/java/org/traccar/model/Position.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Position.java b/src/main/java/org/traccar/model/Position.java index 4b327cbd2..6032dc588 100644 --- a/src/main/java/org/traccar/model/Position.java +++ b/src/main/java/org/traccar/model/Position.java @@ -157,7 +157,7 @@ public class Position extends Message { this.protocol = protocol; } - private Date serverTime; + private Date serverTime = new Date(); public Date getServerTime() { return serverTime; |