Page MenuHomePhabricator

Normalization of WbTimes does not remove timezone information for precisions less than or equal to "day"
Closed, ResolvedPublicBUG REPORT

Description

Currently normalization will carry over timezone information. However, this does not make sense for a precision of "day" or lower, such as week. In that context timezone does not change the value (the date April 20, 2022 is the same "day" regardless of being in UTC+5 or UTC-5). Normalization should strip the timezone in these cases.

Event Timeline

Change 878222 had a related patch set uploaded (by RPI2026F1; author: RPI2026F1):

[pywikibot/core@master] [Bugfix] Remove timezone information when normalizing

https://gerrit.wikimedia.org/r/878222

RPI2026F1 changed the task status from Open to In Progress.Jan 11 2023, 12:00 AM
RPI2026F1 claimed this task.
RPI2026F1 triaged this task as Low priority.

Change 878222 merged by jenkins-bot:

[pywikibot/core@master] [Bugfix] Remove timezone information when normalizing

https://gerrit.wikimedia.org/r/878222