mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Convert UTC to local time when displyaing Mapillary timestamp
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user