aboutsummaryrefslogtreecommitdiff
path: root/web/app/AttributeFormatter.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-10-06 17:06:03 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-10-06 17:06:03 -0700
commite22b63aa8afd031961d4e14f785d2217740fb0e7 (patch)
treed857158ada4be5d2198db086c6281109916ea712 /web/app/AttributeFormatter.js
parentc8aadd6a14fd540fab0ad869d9daba4f9428a4fb (diff)
downloadetbsa-traccar-web-e22b63aa8afd031961d4e14f785d2217740fb0e7.tar.gz
etbsa-traccar-web-e22b63aa8afd031961d4e14f785d2217740fb0e7.tar.bz2
etbsa-traccar-web-e22b63aa8afd031961d4e14f785d2217740fb0e7.zip
Implement daily summary report
Diffstat (limited to 'web/app/AttributeFormatter.js')
-rw-r--r--web/app/AttributeFormatter.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app/AttributeFormatter.js b/web/app/AttributeFormatter.js
index c279382..d207ef1 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;