From a5085c93c21e8f7f444a8ff2ffcc0d07d4c37a87 Mon Sep 17 00:00:00 2001 From: Stiralbios Date: Wed, 11 May 2022 22:31:34 +0200 Subject: [PATCH] [ActivityReminder] Fix default dates for the data --- apps/activityreminder/lib.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/activityreminder/lib.js b/apps/activityreminder/lib.js index e33428b06..329087649 100644 --- a/apps/activityreminder/lib.js +++ b/apps/activityreminder/lib.js @@ -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") || {}); };