Page MenuHomePhabricator

Time magic words should use $wgLocaltimezone instead of UTC
Closed, ResolvedPublic

Description

Author: rotemliss

Description:
The time magic words – {{CURRENTTIME}}, {{CURRENTDAY}}, etc. – always use UTC.
However, the signatures use $wgLocaltimezone, or the server local timezone if
not specified. I suggest that the time magic words will use $wgLocaltimezone.


Version: unspecified
Severity: minor

Details

Reference
bz5727

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:13 PM
bzimport set Reference to bz5727.
bzimport added a subscriber: Unknown Object (MLST).

rotemliss wrote:

Fixed in r14849.

Reverted. This breaks CURRENTTIME, CURRENTDAY, etc, leaving no way to
produce standard UTC timestamps.

  • This bug has been marked as a duplicate of 366 ***