From 8d9094fef58a86545a713c7cf23b2f4a598945b8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 7 Mar 2021 22:42:47 -0800 Subject: Rename event time field --- web/app/model/Event.js | 2 +- web/app/view/Events.js | 2 +- web/app/view/ReportController.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'web/app') 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', -- cgit v1.2.3