From f7024407de77f17e42e82b59b035cb1de2c8cbf4 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 24 Feb 2020 16:54:37 +0000 Subject: [PATCH] Fix GPS time display in gpsrec app (fix #98) --- apps.json | 2 +- apps/gpsrec/ChangeLog | 1 + apps/gpsrec/app.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps.json b/apps.json index 4572612cf..ae96a5740 100644 --- a/apps.json +++ b/apps.json @@ -247,7 +247,7 @@ { "id": "gpsrec", "name": "GPS Recorder", "icon": "app.png", - "version":"0.01", + "version":"0.03", "interface": "interface.html", "description": "Application that allows you to record a GPS track. Can run in background", "tags": "tool,outdoors,gps,widget", diff --git a/apps/gpsrec/ChangeLog b/apps/gpsrec/ChangeLog index 45fc2f3d0..37e74fb8b 100644 --- a/apps/gpsrec/ChangeLog +++ b/apps/gpsrec/ChangeLog @@ -1,2 +1,3 @@ 0.01: New App! 0.02: Fix GPS time logging +0.03: Fix GPS time display in gpsrec app diff --git a/apps/gpsrec/app.js b/apps/gpsrec/app.js index a06938e60..962d63df4 100644 --- a/apps/gpsrec/app.js +++ b/apps/gpsrec/app.js @@ -80,7 +80,7 @@ function viewTrack(n) { var l = f.readLine(); if (l!==undefined) { var c = l.split(","); - trackTime = new Date(0|c[0]); + trackTime = new Date(c[0]); } while (l!==undefined) { trackCount++;