mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated Timezone (markdown)
parent
9cc2e2deb2
commit
ca3e08c451
1 changed files with 16 additions and 0 deletions
16
Timezone.md
16
Timezone.md
|
|
@ -18,3 +18,19 @@ sudo ntpdate ntp.ubuntu.com
|
|||
5. Now local time shows correctly at webbrowser, like for example at Friend Desktop https://github.com/wekan/wekan/wiki/Friend
|
||||
|
||||
https://github.com/FriendUPCloud/friendup/blob/master/interfaces/web_desktop/apps/Convos/Scripts/chatlog.fui.js#L694
|
||||
|
||||
From Hogle Titlestad:
|
||||
|
||||
> Oh, and the most important thing.
|
||||
> The first argument is a time string.
|
||||
> Seconds. Not a normal date.
|
||||
> Such that you can subtracck and add seconds to it.
|
||||
> So input would be:
|
||||
```
|
||||
this.parseDate( 1695981700956, false, 'Europe/Oslo' );
|
||||
```
|
||||
> e.g. Europe/Oslo is the server time zone.
|
||||
> The timestamp is server time.
|
||||
> For the event in question.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue