Convert UTC to local time when displyaing Mapillary timestamp

This commit is contained in:
Bryan Housel
2017-07-16 10:54:27 -04:00
parent 80e8f433b2
commit 30e5b18d6b
+1 -1
View File
@@ -481,7 +481,7 @@ export default {
if (!s) return null;
var d = new Date(s);
if (isNaN(d.getTime())) return null;
return d.toLocaleString();
return d.toLocaleString(undefined, { timeZone: 'UTC' });
}
var selected = d3.selectAll('.layer-mapillary-images .viewfield-group.selected');