Files
wekan/docs/Features/Date/Timezone.md
T
Lauri Ojansivu 5b04b4b47c Reorganize docs: platform pages under docs/Platforms, and update their links.
The autoupdate design pages move from docs/Design/Autoupdate to where their
platform lives: the per-OS pages to docs/Platforms/FOSS/OS/OS-future-alternatives,
Snap-Core and Snap-Ondra-Gantt to Container/Snap, UCS and Nextcloud to
Container/Docker, and Platforms.md to docs/Platforms. docs/Platforms/FOSS/Cloud
is split into Container/Docker (Helm, OpenShift, CloudFoundry) and
FOSS/CloudFlare; Friend and UCS move under Container/Docker; Leo moves to
Features/ImportExport/Leo.

Every link to a moved page is updated: relative links in the docs, including
the moved pages' own links to the rest of the tree, full docs/ paths in the
workflows, tests and comments, and the Upcoming CHANGELOG entry. Released and
archived CHANGELOG sections are records and keep their original links.
tests/docsLinksResolve.test.cjs passes.

Thanks to xet7 !
2026-10-11 19:53:18 +03:00

1.1 KiB

  1. At Windows, sync to ntp timeserver. Examples:
  • time.windows.com
  • ntp.ubuntu.com
  • ntp1.kolumbus.fi
  1. Dual boot to Qubes OS. At desktop top right calendar/time, set timezone to Etc/UTC.

  2. At server and it's KVM VMs, edit /etc/timezone to Etc/UTC.

  3. Update time at server:

sudo apt -y install ntpdate

sudo ntpdate ntp.ubuntu.com
  1. 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:

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.