aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
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 /web/app/model
parent20d2bd13b0039e994ba9515d3d49e88079123470 (diff)
downloadtraccar-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.gz
traccar-server-984feba192d0b347b99c550009ec6fd078728ca2.tar.bz2
traccar-server-984feba192d0b347b99c550009ec6fd078728ca2.zip
Add twelve hour format preference
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/Server.js3
-rw-r--r--web/app/model/User.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/web/app/model/Server.js b/web/app/model/Server.js
index 9b4b5b2b6..796ff58d6 100644
--- a/web/app/model/Server.js
+++ b/web/app/model/Server.js
@@ -54,6 +54,9 @@ Ext.define('Traccar.model.Server', {
}, {
name: 'zoom',
type: 'int'
+ }, {
+ name: 'twelveHourFormat',
+ type: 'boolean'
}],
proxy: {
diff --git a/web/app/model/User.js b/web/app/model/User.js
index b00918bc8..237a4d269 100644
--- a/web/app/model/User.js
+++ b/web/app/model/User.js
@@ -54,6 +54,9 @@ Ext.define('Traccar.model.User', {
}, {
name: 'zoom',
type: 'int'
+ }, {
+ name: 'twelveHourFormat',
+ type: 'boolean'
}],
proxy: {