aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-13 12:18:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-13 12:18:15 +1300
commit984feba192d0b347b99c550009ec6fd078728ca2 (patch)
tree6021b9a4b56866951a024b739732846d83235d2c /src
parent20d2bd13b0039e994ba9515d3d49e88079123470 (diff)
downloadtrackermap-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.gz
trackermap-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.bz2
trackermap-server-984feba192d0b347b99c550009ec6fd078728ca2.zip
Add twelve hour format preference
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/model/Server.java10
-rw-r--r--src/org/traccar/model/User.java10
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() {