mirror of
https://github.com/NohamR/xovi-qmd-extensions.git
synced 2025-11-23 10:59:30 +00:00
Compare commits
No commits in common. "17898d11afc96767842507cc2a9606a974ae5ec5" and "79eacc385c1c14b580bd08847e760df3aad794cb" have entirely different histories.
17898d11af
...
79eacc385c
@ -17,9 +17,7 @@ AFFECT [[4911547370760691430]]
|
||||
|
||||
function getCestTime() {
|
||||
~&197102514&~ now = new ~&6502586279&~();
|
||||
; to add a timezone:
|
||||
; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&197102514&~ utc = now.getTime();
|
||||
~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&197102514&~ cestTime = new ~&6502586279&~(utc + (2 * 3600000)); /* UTC + 2 hours
|
||||
*/
|
||||
~&7083121450889&~ cestTime;
|
||||
|
||||
@ -20,9 +20,7 @@ AFFECT [[12542166428983872557]]
|
||||
|
||||
function getCestTime() {
|
||||
~&197102514&~ now = new ~&6502586279&~();
|
||||
; to add a timezone:
|
||||
; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&197102514&~ utc = now.getTime();
|
||||
~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&7083121450889&~ new ~&6502586279&~(utc + cestOffset);
|
||||
}
|
||||
|
||||
|
||||
@ -17,9 +17,7 @@ AFFECT [[4911547370760691430]]
|
||||
|
||||
function getCestTime() {
|
||||
~&197102514&~ now = new ~&6502586279&~();
|
||||
; to add a timezone:
|
||||
; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&197102514&~ utc = now.getTime();
|
||||
~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&197102514&~ cestTime = new ~&6502586279&~(utc + (1 * 3600000)); /* UTC + 1 hours
|
||||
*/
|
||||
~&7083121450889&~ cestTime;
|
||||
|
||||
@ -20,9 +20,7 @@ AFFECT [[12542166428983872557]]
|
||||
|
||||
function getCestTime() {
|
||||
~&197102514&~ now = new ~&6502586279&~();
|
||||
; to add a timezone:
|
||||
; ~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&197102514&~ utc = now.getTime();
|
||||
~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
~&7083121450889&~ new ~&6502586279&~(utc + cestOffset);
|
||||
}
|
||||
|
||||
|
||||
@ -26,15 +26,10 @@ Beta releases are not tested nor supported.
|
||||
- Adds a live clock to the library sidebar; tap the entry to toggle seconds display.
|
||||

|
||||

|
||||
Note: You can add a timezone by editing the `clock.qmd` file and changing the timezone string in the line:
|
||||
```
|
||||
~&197102514&~ utc = now.getTime() + (now.getTimezoneOffset() * 60000);
|
||||
```
|
||||
|
||||
#### `quickSettingsClock.qmd`
|
||||
- Injects a tappable clock into the Quick Settings header; tap to toggle between minute and second precision.
|
||||

|
||||
Note: You can add a timezone by editing the `quickSettingsClock.qmd`, see above for details.
|
||||
|
||||
#### `forceSync.qmd`
|
||||
- Adds a cloud button in Quick Settings that forces a library sync when tapped (need further testing to confirm it works as intended).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user