Description
Steps to reproduce
- Web server machine time set to GMT, kept with ntp.
- in wikiconfig.py for 1.3.1, set tz_offset to -5.0
2025-04-06 20:51:27 still shows full GMT time, not local (offset) time.
In the raw page source (e.g. when using @SIG@ or @DATE@), it will EVER use an ISO timestamp in UTC. This is wanted.
In the rendered page, DateTime and similar macros use tz_offset from user's profile.
- for anon users, it will use tz_offset from config
- it will not override existing tz_offset setting in existing user account. tz_offset is used as default value for new user accounts (for the userprefs form). So if user sets something different as personal tz_offset, moin will use his personal value.
- old accounts with unchanged tz_offset setting will have the value of the old config's tz_offset (and that is 0.0 by default).
Workaround
No bug. Existing users must change their settings.
Discussion
Plan
- Priority: None
Assigned to: ThomasWaldmann
- Status: no bug