Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store all DB datetime fields in UTC #540

Open
lousyfool opened this issue Aug 12, 2021 · 0 comments
Open

Store all DB datetime fields in UTC #540

lousyfool opened this issue Aug 12, 2021 · 0 comments

Comments

@lousyfool
Copy link

Currently many (= most?) datetime fields are stored in the DB in the user's timezone as set in their J! account or, if set to "default" there or if it's a guest in the frontend, in J!'s global system timezone.
That's a big no-no, typically messing up both backend and frontend display, add/edit etc etc, basically J!'s native time system.

In the database, all datetime fields must be stored in UTC time. Always and everywhere, no matter set system or user timezones.

Also see https://www.joomlaworks.net/forum/k2-en/63669-the-timezone-conundrum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant