diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-13 12:18:15 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-13 12:18:15 +1300 |
commit | 984feba192d0b347b99c550009ec6fd078728ca2 (patch) | |
tree | 6021b9a4b56866951a024b739732846d83235d2c /src/org/traccar | |
parent | 20d2bd13b0039e994ba9515d3d49e88079123470 (diff) | |
download | trackermap-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.gz trackermap-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.bz2 trackermap-server-984feba192d0b347b99c550009ec6fd078728ca2.zip |
Add twelve hour format preference
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/model/Server.java | 10 | ||||
-rw-r--r-- | src/org/traccar/model/User.java | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index 00b1f60d0..f03a0aa60 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -137,4 +137,14 @@ public class Server { this.zoom = zoom; } + private boolean twelveHourFormat; + + public boolean getTwelveHourFormat() { + return twelveHourFormat; + } + + public void setTwelveHourFormat(boolean twelveHourFormat) { + this.twelveHourFormat = twelveHourFormat; + } + } diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index 1531ba9e4..e58311834 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -140,6 +140,16 @@ public class User { this.zoom = zoom; } + private boolean twelveHourFormat; + + public boolean getTwelveHourFormat() { + return twelveHourFormat; + } + + public void setTwelveHourFormat(boolean twelveHourFormat) { + this.twelveHourFormat = twelveHourFormat; + } + private String password; public String getPassword() { |