diff options
Diffstat (limited to 'web/app/view/state/StateController.js')
-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', { |