Merge pull request #1101 from nebbishhacker/widpedom

widpedom: Save lastUpdated as a unix timestamp
master
Gordon Williams 2021-12-16 08:06:48 +00:00 committed by GitHub
commit 58a459056c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -1590,7 +1590,7 @@
{
"id": "widpedom",
"name": "Pedometer widget",
"version": "0.19",
"version": "0.20",
"description": "Daily pedometer widget",
"icon": "widget.png",
"type": "widget",

View File

@ -19,3 +19,4 @@
Stop goal drawing outside widget area
Fix issue with widget overwrite in large font mode
Memory usage enhancements
0.20: Fix issue where step count would randomly reset

View File

@ -53,7 +53,7 @@
E.on('kill', () => {
if (!settings) { loadSettings() }
let d = {
lastUpdate : lastUpdate.toISOString(),
lastUpdate : lastUpdate.valueOf(),
stepsToday : stp_today,
settings : settings,
};

2
core

@ -1 +1 @@
Subproject commit 2a8e872ecb143a10e53273b4d3473164e104e1d3
Subproject commit b033af017f6789a6a7777e6ef1428d94995a9b8b