strftime: table of locale-aware formatters in different locales

April 13, 2013 at 10:44 PM | Python | View Comments

I got curious about what the different locale-specific strftime and strptime formatting directives produced in different locales… So I built a little script which would genreate a table showing each of the different locale-aware formatters in all of the different locales which I've got installed!

The code used to generate this table can be found at: bitbucket.org/wolever/locale-table.

%a %A %b %B %x %X %p %c
af_ZA Tue Tuesday Aug August 08/16/1988 21:30:05 PM Tue Aug 16 21:30:05 1988
am_ET ማክሰ ማክሰኞ ኦገስ ኦገስት 16/08/1988 21:30:05 PM ማክሰ ኦገስ 16 21:30:05 1988
be_BY аў аўторак жні жніўня 16.08.88 21:30:05 pm аў 16 жні 21:30:05 1988
bg_BG Вт Вторник Авг Август 16.08.88 21:30:05 pm Вт 16 Авг 21:30:05 1988
ca_ES dim dimarts ago agost 16/08/1988 21:30:05 PM dim 16 ago 21:30:05 1988
cs_CZ út úterý srp srpna 1988/08/16 21:30:05 od út 16 srp 21:30:05 1988
da_DK Tir Tirsdag Aug August 16.08.1988 21:30:05 pm Tir 16 Aug 21:30:05 1988
de_AT Di Dienstag Aug August 16.08.1988 21:30:05 pm Di 16 Aug 21:30:05 1988
de_CH Di Dienstag Aug August 16.08.1988 21:30:05 pm Di 16 Aug 21:30:05 1988
de_DE Di Dienstag Aug August 16.08.1988 21:30:05 pm Di 16 Aug 21:30:05 1988
el_GR Τρι Τρίτη Αυγ Αυγούστου 16/08/1988 21:30:05 μμ Τρι 16 Αυγ 21:30:05 1988
en_AU Tue Tuesday Aug August 16/08/1988 21:30:05 pm Tue 16 Aug 21:30:05 1988
en_CA Tue Tuesday Aug August 16/08/1988 21:30:05 pm Tue 16 Aug 21:30:05 1988
en_GB Tue Tuesday Aug August 16/08/1988 21:30:05 pm Tue 16 Aug 21:30:05 1988
en_IE Tue Tuesday Aug August 16/08/1988 21:30:05 pm Tue 16 Aug 21:30:05 1988
en_NZ Tue Tuesday Aug August 16/08/1988 21:30:05 pm Tue 16 Aug 21:30:05 1988
en_US Tue Tuesday Aug August 08/16/1988 21:30:05 PM Tue Aug 16 21:30:05 1988
es_ES mar martes ago agosto 16/08/1988 21:30:05 PM mar 16 ago 21:30:05 1988
et_EE T teisipäev aug august 16.08.1988 21:30:05 T, 16. aug 1988. 21:30:05
eu_ES as. asteartea Abu abuztua 1988/08/16 21:30:05 p.m. 1988 - Abu - 16 as. 21:30:05
fi_FI Ti Tiistai Elo Elokuu 16.08.1988 21:30:05 pm Ti 16 Elo 21:30:05 1988
fr_BE Mar Mardi aoû août 16.08.1988 21:30:05 Mar 16 aoû 21:30:05 1988
fr_CA Mar Mardi aoû août 16.08.1988 21:30:05 Mar 16 aoû 21:30:05 1988
fr_CH Mar Mardi aoû août 16.08.1988 21:30:05 Mar 16 aoû 21:30:05 1988
fr_FR Mar Mardi aoû août 16.08.1988 21:30:05 Mar 16 aoû 21:30:05 1988
he_IL ג' שלישי אוג אוגוסט 16/08/88 21:30:05 PM 21:30:05 1988 אוג 16 ג'
hr_HR Ut Utorak Kol Kolovoz 16.08.1988 21:30:05 pm Ut 16 Kol 21:30:05 1988
hu_HU Ked Kedd Aug Augusztus 1988/08/16 21:30:05 du Ked Aug 16 21:30:05 1988
hy_AM Երք Երեքշաբթի Օգս Օգոստոս 16.08.1988 21:30:05 Երեքշաբթի, 16 Օգոստոս 1988 ի. 21:30:05
is_IS þri þriðjudagur ágú ágúst 16.08.1988 21:30:05 eh þri 16 ágú 21:30:05 1988
it_CH Mar Martedì Ago Agosto 16.08.1988 21:30:05 pm Mar 16 Ago 21:30:05 1988
it_IT Mar Martedì Ago Agosto 16.08.1988 21:30:05 pm Mar 16 Ago 21:30:05 1988
ja_JP 火曜日 8 8月 1988/08/16 21時30分05秒 PM 火 8/16 21:30:05 1988
kk_KZ сс сейсенбі там тамыз 16.08.1988 21:30:05 сейсенбі, 16 тамыз 1988 ж. 21:30:05
ko_KR 화요일 8 8월 1988/08/16 21시 30분 05초 PM 화 8/16 21:30:05 1988
lt_LT An Antradienis Rgp rugpjūčio 1988.08.16 21:30:05 An Rgp 16 21:30:05 1988
nl_BE di dinsdag aug augustus 16-08-1988 21:30:05 pm di 16 aug 21:30:05 1988
nl_NL di dinsdag aug augustus 16-08-1988 21:30:05 pm di 16 aug 21:30:05 1988
no_NO tir tirsdag aug august 16.08.1988 21:30:05 pm tir 16 aug 21:30:05 1988
pl_PL wto wtorek sie sierpnia 1988.08.16 21:30:05 wto 16 sie 21:30:05 1988
pt_BR Ter Terça Feira Ago Agosto 16/08/1988 21:30:05 Ter 16 Ago 21:30:05 1988
pt_PT Ter Terça Feira Ago Agosto 16.08.1988 21:30:05 Ter 16 Ago 21:30:05 1988
ro_RO Mar Marţi Aug August 16.08.1988 21:30:05 pm Mar 16 Aug 1988 21:30:05
ru_RU вт вторник авг августа 16.08.1988 21:30:05 вторник, 16 августа 1988 г. 21:30:05
sk_SK ut utorok aug august 16.08.1988 21:30:05 ut 16 aug 21:30:05 1988
sl_SI tor torek avg avgust 16.08.1988 21:30:05 pm tor 16 avg 21:30:05 1988
sr_YU уто уторак авг август 16.08.1988 21:30:05 уто 16 авг 21:30:05 1988
sv_SE Tis Tisdag Aug Augusti 16.08.1988 21:30:05 pm Tis 16 Aug 21:30:05 1988
tr_TR Sal Salı Ağu Ağustos 16/08/1988 21:30:05 PM Sal 16 Ağu 21:30:05 1988
uk_UA вт вівторок сер серпня 16.08.1988 21:30:05 вт 16 сер 21:30:05 1988
zh_CN 星期二 8 八月 1988/08/16 21时30分05秒 下午 二 8/16 21:30:05 1988
zh_HK 周二 8 8月 1988/08/16 21時30分05秒 下午 二 8/16 21:30:05 1988
zh_TW 周二 8 8月 1988/08/16 21時30分05秒 下午 二 8/16 21:30:05 1988