aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-07 22:42:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-03-07 22:42:47 -0800
commit8d9094fef58a86545a713c7cf23b2f4a598945b8 (patch)
treed36b1291a5084d4951edeac7f0d72974e559248f /web/app
parent09969cd35abf839ccc8c910db04db80da0ba5f07 (diff)
downloadetbsa-traccar-web-8d9094fef58a86545a713c7cf23b2f4a598945b8.tar.gz
etbsa-traccar-web-8d9094fef58a86545a713c7cf23b2f4a598945b8.tar.bz2
etbsa-traccar-web-8d9094fef58a86545a713c7cf23b2f4a598945b8.zip
Rename event time field
Diffstat (limited to 'web/app')
-rw-r--r--web/app/model/Event.js2
-rw-r--r--web/app/view/Events.js2
-rw-r--r--web/app/view/ReportController.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/web/app/model/Event.js b/web/app/model/Event.js
index f0c9c3a..d1297dd 100644
--- a/web/app/model/Event.js
+++ b/web/app/model/Event.js
@@ -27,7 +27,7 @@ Ext.define('Traccar.model.Event', {
name: 'type',
type: 'string'
}, {
- name: 'serverTime',
+ name: 'eventTime',
type: 'date',
dateFormat: 'c'
}, {
diff --git a/web/app/view/Events.js b/web/app/view/Events.js
index 3f4b575..d800837 100644
--- a/web/app/view/Events.js
+++ b/web/app/view/Events.js
@@ -110,7 +110,7 @@ Ext.define('Traccar.view.Events', {
dataIndex: 'text'
}, {
text: Strings.positionFixTime,
- dataIndex: 'serverTime',
+ dataIndex: 'eventTime',
renderer: Traccar.AttributeFormatter.getFormatter('lastUpdate')
}]
}
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js
index 88a4cea..cc0fd4a 100644
--- a/web/app/view/ReportController.js
+++ b/web/app/view/ReportController.js
@@ -514,9 +514,9 @@ Ext.define('Traccar.view.ReportController', {
eventsColumns: [{
text: Strings.positionFixTime,
- dataIndex: 'serverTime',
+ dataIndex: 'eventTime',
xtype: 'datecolumn',
- renderer: Traccar.AttributeFormatter.getFormatter('serverTime')
+ renderer: Traccar.AttributeFormatter.getFormatter('eventTime')
}, {
text: Strings.reportDeviceName,
dataIndex: 'deviceId',