diff --git a/3.22.0.64/clock.qmd b/3.22.0.64/clock.qmd index 3871f48..b7a2bd4 100644 --- a/3.22.0.64/clock.qmd +++ b/3.22.0.64/clock.qmd @@ -17,7 +17,9 @@ AFFECT [[4911547370760691430]] function getCestTime() { ~&197102514&~ now = new ~&6502586279&~(); - ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ; to add a timezone: + ; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ~&197102514&~ utc = now.getTime(); ~&197102514&~ cestTime = new ~&6502586279&~(utc + (2 * 3600000)); /* UTC + 2 hours */ ~&7083121450889&~ cestTime; diff --git a/3.22.0.64/quickSettingsClock.qmd b/3.22.0.64/quickSettingsClock.qmd index 7771d59..1895ffd 100644 --- a/3.22.0.64/quickSettingsClock.qmd +++ b/3.22.0.64/quickSettingsClock.qmd @@ -20,7 +20,9 @@ AFFECT [[12542166428983872557]] function getCestTime() { ~&197102514&~ now = new ~&6502586279&~(); - ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ; to add a timezone: + ; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ~&197102514&~ utc = now.getTime(); ~&7083121450889&~ new ~&6502586279&~(utc + cestOffset); } diff --git a/3.23.0.64/clock.qmd b/3.23.0.64/clock.qmd index f60da31..0dd8531 100644 --- a/3.23.0.64/clock.qmd +++ b/3.23.0.64/clock.qmd @@ -17,7 +17,9 @@ AFFECT [[4911547370760691430]] function getCestTime() { ~&197102514&~ now = new ~&6502586279&~(); - ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ; to add a timezone: + ; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ~&197102514&~ utc = now.getTime(); ~&197102514&~ cestTime = new ~&6502586279&~(utc + (1 * 3600000)); /* UTC + 1 hours */ ~&7083121450889&~ cestTime; diff --git a/3.23.0.64/quickSettingsClock.qmd b/3.23.0.64/quickSettingsClock.qmd index 79cc5ed..8ea2fb7 100644 --- a/3.23.0.64/quickSettingsClock.qmd +++ b/3.23.0.64/quickSettingsClock.qmd @@ -20,7 +20,9 @@ AFFECT [[12542166428983872557]] function getCestTime() { ~&197102514&~ now = new ~&6502586279&~(); - ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ; to add a timezone: + ; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000); + ~&197102514&~ utc = now.getTime(); ~&7083121450889&~ new ~&6502586279&~(utc + cestOffset); }