Page MenuHomePhabricator

{{#time}} parser function produces incorrect dates when displaying dates before 1941 in Thai language
Open, LowPublic

Description

According to https://en.wikipedia.org/wiki/Thai_solar_calendar#New_year {{#time:xkY|1940-01-01|th}} should return 2482 but returns 2483.


Version: unspecified
Severity: normal

Details

Reference
bz66648

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:13 AM
bzimport added projects: ParserFunctions, I18n.
bzimport set Reference to bz66648.
bzimport added a subscriber: Unknown Object (MLST).
Jarekt created this task.Jun 16 2014, 3:07 AM
Amire80 moved this task from Untriaged to Date and time on the I18n board.Mar 25 2018, 6:30 AM

Change 428129 had a related patch set uploaded (by Superyetkin; owner: Superyetkin):
[mediawiki/core@master] Bug: T68648

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

Change 428129 had a related patch set uploaded (by Krinkle; owner: Superyetkin):
[mediawiki/core@master] Fix the bug for dates before 1941 in Thai language

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

Change 428129 merged by jenkins-bot:
[mediawiki/core@master] Fix the bug for dates between 1912 and 1941 in Thai language

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

The functionality has arrived for wikis but the commit does not appear in the release notes. Is something wrong?

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMay 18 2019, 2:12 PM