diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-05 19:59:31 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-05 19:59:31 +1200 |
commit | 5f4e33e16040412edf3dbe34866a467429a9b37c (patch) | |
tree | be6473ac5a5ccc8fb5dd4be9c9dd099c24462b7f /web/app/view/state | |
parent | dcf03c69721022a1f87ea1a824becac6e75caca1 (diff) | |
download | trackermap-server-5f4e33e16040412edf3dbe34866a467429a9b37c.tar.gz trackermap-server-5f4e33e16040412edf3dbe34866a467429a9b37c.tar.bz2 trackermap-server-5f4e33e16040412edf3dbe34866a467429a9b37c.zip |
Global standards locale preferences
Diffstat (limited to 'web/app/view/state')
-rw-r--r-- | web/app/view/state/StateController.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/state/StateController.js b/web/app/view/state/StateController.js index 73dc28b50..c027dddc9 100644 --- a/web/app/view/state/StateController.js +++ b/web/app/view/state/StateController.js @@ -96,6 +96,8 @@ Ext.define('Traccar.view.state.StateController', { var speedUnits = Ext.getStore('SpeedUnits'); unit = Traccar.getApplication().getUser().get('speedUnit') || Traccar.getApplication().getServer().get('speedUnit') || ''; value = speedUnits.convert(value, unit) + ' ' + speedUnits.getUnitName(unit); + } else if (value instanceof Date) { + value = Ext.Date.format(value, styles.dateTimeFormat); } store.add(Ext.create('Traccar.model.Parameter', { |