mirror of https://github.com/espruino/BangleApps
[ActivityReminder] Fix default dates for the data
parent
5516a87b77
commit
a5085c93c2
|
@ -25,9 +25,9 @@ exports.loadData = function () {
|
|||
return Object.assign({
|
||||
stepsDate: new Date(),
|
||||
stepsOnDate: health.steps,
|
||||
okDate: new Date('1/1/1970'),
|
||||
dismissDate: new Date('1/1/1970'),
|
||||
pauseDate: new Date('1/1/1970'),
|
||||
okDate: new Date(1970, 1, 1),
|
||||
dismissDate: new Date(1970, 1, 1),
|
||||
pauseDate: new Date(1970, 1, 1),
|
||||
},
|
||||
storage.readJSON("activityreminder.data.json") || {});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue