aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-09 17:03:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-09 17:03:02 +1300
commitb204307a34b8eeddd8653949465b2864b0fdf2a5 (patch)
tree9584f5707bd49f9543a7068e8474f1dc0a2f7e06 /web
parent3d05dfd49802696882bc77165e48b3b4db6d1603 (diff)
downloadtrackermap-server-b204307a34b8eeddd8653949465b2864b0fdf2a5.tar.gz
trackermap-server-b204307a34b8eeddd8653949465b2864b0fdf2a5.tar.bz2
trackermap-server-b204307a34b8eeddd8653949465b2864b0fdf2a5.zip
Show fix time for report locations
Diffstat (limited to 'web')
-rw-r--r--web/app/view/MapController.js4
1 files changed, 3 insertions, 1 deletions
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);