Last modified: 2011-12-14 00:33:42 UTC
In fa.wiki for abridged form of Jalaly Calendar (Persian calendar) it is not defined.(second sample) 1-{{subst:#time:xiY}} ==>۱۳۹۰ (ok=1390) 2-{{subst:#time:xiy}} ==>y (not ok) and it will be ۹۰ 3-{{subst:#time:y}}==>۱۱ (ok=11) 4-{{subst:#time:Y}}==>۲۰۱۱ (ok=2011)
Created attachment 9490 [details] Patch adding xiy format There's no support for years in 2-digit format (other than the original one present in php). This is common to Iranian, Hebrew, Hijri, Thai, Minguo and Japanese calendars (those for which we have a full year output). Would the short form be always equivalent to the last two digits ?
Thank you for The Patch. In the Persian calender the short form is the last two right side digits ۱۳۹۰ == short form ==> ۹۰ ۱۳۸۹ == short form ==> ۸۹
Applied patch plus test cases in r106143. Test case uses latin-style digits as it's testing in English locale; in fa you should get the persian digits. This change should land in MediaWiki 1.19 and be available when that goes live on the wikipedias.