Description

Steps to reproduce

  1. Web server machine time set to GMT, kept with ntp.
  2. in wikiconfig.py for 1.3.1, set tz_offset to -5.0
  3. 2024-04-27 18:25:01 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


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/TzOffsetNotWorking (last edited 2007-10-29 19:07:19 by localhost)