From b204307a34b8eeddd8653949465b2864b0fdf2a5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 9 Nov 2015 17:03:02 +1300 Subject: Show fix time for report locations --- web/app/view/MapController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/app') diff --git a/web/app/view/MapController.js b/web/app/view/MapController.js index 7abce1ff5..bc8ca843c 100644 --- a/web/app/view/MapController.js +++ b/web/app/view/MapController.js @@ -110,7 +110,9 @@ Ext.define('Traccar.view.MapController', { style = this.getReportMarker(); style.getImage().setRotation(position.get('course') * 180 / Math.PI); - // style.getText().setText('2000-01-01 00:00:00'); // TODO show time + style.getText().setText( + Ext.Date.format(position.get('fixTime'), Traccar.Style.dateTimeFormat)); + marker.setStyle(style); this.reportRoute.getGeometry().appendCoordinate(point); -- cgit v1.2.3