mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Move feature and webserver documentation into the reorganized hierarchy, update references to their new relative paths, and extend link validation across the complete documentation tree.\n\nThanks to xet7 !
1.1 KiB
1.1 KiB
- At Windows, sync to ntp timeserver. Examples:
time.windows.comntp.ubuntu.comntp1.kolumbus.fi
-
Dual boot to Qubes OS. At desktop top right calendar/time, set timezone to Etc/UTC.
-
At server and it's KVM VMs, edit
/etc/timezonetoEtc/UTC. -
Update time at server:
sudo apt -y install ntpdate
sudo ntpdate ntp.ubuntu.com
- Now local time shows correctly at webbrowser, like for example at Friend Desktop Friend
For testing any other time related code, that it shows correct local time, compare time functions results to this:
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.