A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
[Default clock] Incorrect week number
-
@thgmirror where is your system timezone set?
u can also set language and timezone in the clock config. I don’t know which influences the moment() library more
-
@sdetweil it is set to Berlin = CEST
and my clock-config-entry is like this:
//################################################################################# { disabled: false, module: "clock", position: "top_right", config: { // The config property is optional. // See "Configuration options" for more information. showWeek : true, showSunTimes : true, showMoonTimes : true, lat : 50.658821, lon : 7.193084, } }, //#################################################################################
-
@thgmirror is your MM running in English or German? I see the code set moment from the language set in config.js
-
@sdetweil said in [Default clock] Incorrect week number:
I see the code set moment from the language set in config.js
DE
-
@p1lspeda let’s try this
edit clock.js
and change line 248
from ending like this
weekNumber: now.week() });
to this
weekNumber: now.isoWeek() });
-
-
@thgmirror sorry, didn’t see u sneak a post in there. fixed
-
-
@thgmirror very nice
I just didn’t look at the poster name. my fault. -
Wait, Clock still uses Moment? Shame… Shame… 🤣🤣