Page MenuHomePhabricator

Localization of Thai year
Closed, ResolvedPublic

Description

Author: pseeluan

Description:
The function sprintfDate() in phase3/languages/Language.php doesn't allow the localization of Thai year.

Modern Thai calendar coincides with Gregorian calendar but displays year in Buddhist Era, which is 543 + Christian Era. For example, the year 2000 A.D. is year 2543 in Thai.

For example, try this bash shell command,

LC_TIME=th_TH  date +%Ey

More info,

http://en.wikipedia.org/wiki/Thai_solar_calendar

Version: unspecified
Severity: enhancement

Details

Reference
bz11657

Event Timeline

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

Added with r28221.

New keyword 'xkY' for the Thai solar year. Can be used for {{#time:}} parserfunctions too.

Thai solar calendar added to Thai message file.