android - Fix type for time value

pull/2534/head
Martin Boonk 2023-02-19 20:37:25 +01:00
parent 2afa3b6daa
commit a267419f74
1 changed files with 4 additions and 1 deletions

View File

@ -150,6 +150,9 @@
event.lon = event.long;
delete event.long;
}
if (event.time){
event.time = new Date(event.time);
}
if (!gpsState.firstGPSEvent) {
// this is the first event, save time of arrival and deactivate internal GPS
@ -344,4 +347,4 @@
// remove settings object so it's not taking up RAM
delete settings;
})();
})();