commit e61642cb751ac1233d5cac9ea9b3ae0b59d7b62f
parent a19d14438a0b2fa1bd32b226cb81cf3471c08798
Author: myadzel <myadzel@gmail.com>
Date: Tue, 5 Jun 2018 13:34:38 +0300
change value for time to human-readable string (and set it to 1 second of unix epoch)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/leaflet.control.track-list/lib/geo_file_exporters.js b/src/lib/leaflet.control.track-list/lib/geo_file_exporters.js
@@ -5,7 +5,7 @@ import {saveNktk} from './nktk';
function saveGpx(segments, name, points) {
var gpx = [],
x, y,
- time = new Date(0).toISOString();
+ time = '1970-01-01T00:00:00.001Z';
gpx.push('<?xml version="1.0" encoding="UTF-8" standalone="no" ?>');
gpx.push(