widpedom: Save lastUpdated as a unix timestamp

Fixes #961
pull/1101/head
Ben Whittaker 2021-12-15 19:31:39 -05:00
parent 2d1666d037
commit 108c12d3ec
2 changed files with 2 additions and 2 deletions

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