diff options
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r-- | web/app/AttributeFormatter.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js index c2793827..d207ef1e 100644 --- a/web/app/AttributeFormatter.js +++ b/web/app/AttributeFormatter.js @@ -190,6 +190,10 @@ Ext.define('Traccar.AttributeFormatter', { return value; }, + dateFormatter: function (value) { + return Ext.Date.format(value, Traccar.Style.dateFormat); + }, + getFormatter: function (key) { var self = this; |