Fix GPS time display in gpsrec app (fix #98)

master
Gordon Williams 2020-02-24 16:54:37 +00:00
parent 39c23d0654
commit f7024407de
3 changed files with 3 additions and 2 deletions

View File

@ -247,7 +247,7 @@
{ "id": "gpsrec", { "id": "gpsrec",
"name": "GPS Recorder", "name": "GPS Recorder",
"icon": "app.png", "icon": "app.png",
"version":"0.01", "version":"0.03",
"interface": "interface.html", "interface": "interface.html",
"description": "Application that allows you to record a GPS track. Can run in background", "description": "Application that allows you to record a GPS track. Can run in background",
"tags": "tool,outdoors,gps,widget", "tags": "tool,outdoors,gps,widget",

View File

@ -1,2 +1,3 @@
0.01: New App! 0.01: New App!
0.02: Fix GPS time logging 0.02: Fix GPS time logging
0.03: Fix GPS time display in gpsrec app

View File

@ -80,7 +80,7 @@ function viewTrack(n) {
var l = f.readLine(); var l = f.readLine();
if (l!==undefined) { if (l!==undefined) {
var c = l.split(","); var c = l.split(",");
trackTime = new Date(0|c[0]); trackTime = new Date(c[0]);
} }
while (l!==undefined) { while (l!==undefined) {
trackCount++; trackCount++;