aboutsummaryrefslogtreecommitdiff
path: root/web/app/Style.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-13 13:07:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-13 13:07:30 +1300
commit2be68b0e9c1f26f329d5cf1d836cffdf8d506b8e (patch)
tree85b17d225d570d3cc1fdffce274d1beb26926cc3 /web/app/Style.js
parent984feba192d0b347b99c550009ec6fd078728ca2 (diff)
downloadtrackermap-server-2be68b0e9c1f26f329d5cf1d836cffdf8d506b8e.tar.gz
trackermap-server-2be68b0e9c1f26f329d5cf1d836cffdf8d506b8e.tar.bz2
trackermap-server-2be68b0e9c1f26f329d5cf1d836cffdf8d506b8e.zip
Support 12 hour format in web
Diffstat (limited to 'web/app/Style.js')
-rw-r--r--web/app/Style.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/app/Style.js b/web/app/Style.js
index f4868aec3..309a3937e 100644
--- a/web/app/Style.js
+++ b/web/app/Style.js
@@ -22,8 +22,10 @@ Ext.define('Traccar.Style', {
windowWidth: 640,
windowHeight: 480,
- dateTimeFormat: 'Y-m-d H:i:s',
- timeFormat: 'H:i',
+ dateTimeFormat24: 'Y-m-d H:i:s',
+ dateTimeFormat12: 'Y-m-d g:i:s a',
+ timeFormat24: 'H:i',
+ timeFormat12: 'g:i a',
dateFormat: 'Y-m-d',
weekStartDay: 1,