From 17464943fd09e63557733d8fcaedcd22bbba538e Mon Sep 17 00:00:00 2001 From: Sebin Suresh <30849879+sebinsuresh@users.noreply.github.com> Date: Sun, 16 Mar 2025 17:45:23 -0500 Subject: [PATCH] fix: remove missed 'd' variable initialization --- apps/timecal/timecal.app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/timecal/timecal.app.js b/apps/timecal/timecal.app.js index ee6ab2161..20b99d510 100644 --- a/apps/timecal/timecal.app.js +++ b/apps/timecal/timecal.app.js @@ -82,6 +82,7 @@ class TimeCalClock{ // }); // require("weather").get = undefined; + const d = this.date ? this.date : new Date(); this.hasWeather = this.settings().showWeather && require('weather') && require('weather').get(); const prevCenterX = this.dtCenterX; if(this.hasWeather){ @@ -325,4 +326,4 @@ var _setTime = setTime; var setTime = function(t) { _setTime(t); timeCalClock.draw(true); -}; \ No newline at end of file +};