mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 16:30:13 +01:00
Updated Timezone (markdown)
parent
ca3e08c451
commit
fab3cea22a
1 changed files with 5 additions and 3 deletions
|
|
@ -17,6 +17,8 @@ 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
|
5. Now local time shows correctly at webbrowser, like for example at Friend Desktop https://github.com/wekan/wekan/wiki/Friend
|
||||||
|
|
||||||
|
For testing any other time related code, that it shows correct local time, compare time functions results to this:
|
||||||
|
|
||||||
https://github.com/FriendUPCloud/friendup/blob/master/interfaces/web_desktop/apps/Convos/Scripts/chatlog.fui.js#L694
|
https://github.com/FriendUPCloud/friendup/blob/master/interfaces/web_desktop/apps/Convos/Scripts/chatlog.fui.js#L694
|
||||||
|
|
||||||
From Hogle Titlestad:
|
From Hogle Titlestad:
|
||||||
|
|
@ -26,9 +28,9 @@ From Hogle Titlestad:
|
||||||
> Seconds. Not a normal date.
|
> Seconds. Not a normal date.
|
||||||
> Such that you can subtracck and add seconds to it.
|
> Such that you can subtracck and add seconds to it.
|
||||||
> So input would be:
|
> So input would be:
|
||||||
```
|
> ```
|
||||||
this.parseDate( 1695981700956, false, 'Europe/Oslo' );
|
> this.parseDate( 1695981700956, false, 'Europe/Oslo' );
|
||||||
```
|
> ```
|
||||||
> e.g. Europe/Oslo is the server time zone.
|
> e.g. Europe/Oslo is the server time zone.
|
||||||
> The timestamp is server time.
|
> The timestamp is server time.
|
||||||
> For the event in question.
|
> For the event in question.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue