DateTim...ale::asa(3)
πΈ DateTime::Locale::asa(3) β locale data examples for the Asu (asa) locale π
okay bestie, welcome to the Asu locale data page β¨ this is a user contributed Perl documentation page, section 3 of the manual, for DateTime::Locale::asa β and it's literally just a gorgeous little show-and-tell of every scrap of locale data the Asu (asa) locale ships with. no cap, it's all examples, and you're gonna eat it up π
π NAME π
DateTime::Locale::asa β locale data examples for the Asu (asa) locale π¦
β¨ DESCRIPTION β¨
so this pod file (yes, pod file, we love a documentation format π) contains examples of the locale data available for the Asu locale. that's it, that's the whole vibe β every section below is just receipts of what the data actually looks like πΈ
π Days π
the days of the week, and the way that they show up differently depending on whether you're formatting a date or reading a standalone day name, and whether you want the wide, abbreviated, or narrow flavour. vibe check: wide and stand-alone are the same, abbreviated and stand-alone are the same, narrow and stand-alone are the same β but we're showing all six anyway because thoroughness is main character energy π
π Wide (format)
Jumatatu
Jumanne
Jumatano
Alhamisi
Ijumaa
Jumamosi
Jumapili
π€οΈ Abbreviated (format)
Jtt
Jnn
Jtn
Alh
Ijm
Jmo
Jpi
β¨ Narrow (format)
J
J
J
A
I
J
J
not three of these being literally the same letter J π that's not a bug, that's just what narrow means β single characters, collisions and all π
π Wide (stand-alone)
Jumatatu
Jumanne
Jumatano
Alhamisi
Ijumaa
Jumamosi
Jumapili
π€οΈ Abbreviated (stand-alone)
Jtt
Jnn
Jtn
Alh
Ijm
Jmo
Jpi
β¨ Narrow (stand-alone)
J
J
J
A
I
J
J
π¦ Months π¦
twelve months, six whole presentations. yes the wide ones and the stand-alone ones are identical, and the abbreviated ones too, and the narrow ones too. observe and stan π
πΈ Wide (format)
Januari
Februari
Machi
Aprili
Mei
Juni
Julai
Agosti
Septemba
Oktoba
Novemba
Desemba
πΈ Abbreviated (format)
Jan
Feb
Mac
Apr
Mei
Jun
Jul
Ago
Sep
Okt
Nov
Dec
πΈ Narrow (format)
J
F
M
A
M
J
J
A
S
O
N
D
narrow months are giving alphabet soup βJshows up three times,Mtwice,Atwice. iconic but deeply unserious π
πΈ Wide (stand-alone)
Januari
Februari
Machi
Aprili
Mei
Juni
Julai
Agosti
Septemba
Oktoba
Novemba
Desemba
πΈ Abbreviated (stand-alone)
Jan
Feb
Mac
Apr
Mei
Jun
Jul
Ago
Sep
Okt
Nov
Dec
πΈ Narrow (stand-alone)
J
F
M
A
M
J
J
A
S
O
N
D
π Quarters π
four quarters, three flavours each, six blocks total because format and stand-alone are living their identical twin era β¨
π Wide (format)
Robo 1
Robo 2
Robo 3
Robo 4
π Abbreviated (format)
R1
R2
R3
R4
π Narrow (format)
1
2
3
4
π Wide (stand-alone)
Robo 1
Robo 2
Robo 3
Robo 4
π Abbreviated (stand-alone)
R1
R2
R3
R4
π Narrow (stand-alone)
1
2
3
4
π§ Eras π§
only three blocks here bestie β format and stand-alone aren't split out for eras on this page, so it's just wide, abbreviated, and narrow, periodt π
β Wide (format)
Kabla yakwe Yethu
Baada yakwe Yethu
β Abbreviated (format)
KM
BM
β Narrow (format)
KM
BM
π Date Formats π
okay so here's where it gets fun β same three timestamps rendered at four different verbosity levels. the three timestamps are always the same three, so you can compare directly π«Ά
2008-02-05T18:30:301995-12-22T09:05:02-0010-09-15T04:44:23
and yes that last one is a negative year β-10β and the locale literally renders it as-10. no drama, no extra padding, just minus ten π₯
π₯ Full
2008-02-05T18:30:30 = Jumanne, 5 Februari 2008
1995-12-22T09:05:02 = Ijumaa, 22 Desemba 1995
-0010-09-15T04:44:23 = Jumamosi, 15 Septemba -10
π₯ Long
2008-02-05T18:30:30 = 5 Februari 2008
1995-12-22T09:05:02 = 22 Desemba 1995
-0010-09-15T04:44:23 = 15 Septemba -10
π₯ Medium
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sep -10
π₯ Short
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
β° Time Formats β°
same three timestamps, now with the time-of-day glow-up. watch how UTC shows up in Full and Long but dips out in Medium and Short π
π Full
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
π Long
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
π Medium
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
π Short
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
π«Ά Datetime Formats π«Ά
date + time stitched together, four levels, same three timestamps. this is the section where you can really see the UTC situation β Full and Long keep it, Medium and Short don't π
π Full
2008-02-05T18:30:30 = Jumanne, 5 Februari 2008 18:30:30 UTC
1995-12-22T09:05:02 = Ijumaa, 22 Desemba 1995 09:05:02 UTC
-0010-09-15T04:44:23 = Jumamosi, 15 Septemba -10 04:44:23 UTC
π Long
2008-02-05T18:30:30 = 5 Februari 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Desemba 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 Septemba -10 04:44:23 UTC
π Medium
2008-02-05T18:30:30 = 5 Feb 2008 18:30:30
1995-12-22T09:05:02 = 22 Dec 1995 09:05:02
-0010-09-15T04:44:23 = 15 Sep -10 04:44:23
π Short
2008-02-05T18:30:30 = 05/02/2008 18:30
1995-12-22T09:05:02 = 22/12/1995 09:05
-0010-09-15T04:44:23 = 15/09/-10 04:44
π Available Formats π
this is the big one, bestie β every named format this locale offers, with the pattern it's built from in parentheses, and the same three timestamps as always. hydrate before reading, it's a long list and we're keeping all of it π
π Bh (h B)
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
π Bhm (h:mm B)
2008-02-05T18:30:30 = 6:30 B
1995-12-22T09:05:02 = 9:05 B
-0010-09-15T04:44:23 = 4:44 B
π Bhms (h:mm:ss B)
2008-02-05T18:30:30 = 6:30:30 B
1995-12-22T09:05:02 = 9:05:02 B
-0010-09-15T04:44:23 = 4:44:23 B
π E (ccc)
2008-02-05T18:30:30 = Jnn
1995-12-22T09:05:02 = Ijm
-0010-09-15T04:44:23 = Jmo
π EBhm (E h:mm B)
2008-02-05T18:30:30 = Jnn 6:30 B
1995-12-22T09:05:02 = Ijm 9:05 B
-0010-09-15T04:44:23 = Jmo 4:44 B
π EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Jnn 6:30:30 B
1995-12-22T09:05:02 = Ijm 9:05:02 B
-0010-09-15T04:44:23 = Jmo 4:44:23 B
π EHm (E HH:mm)
2008-02-05T18:30:30 = Jnn 18:30
1995-12-22T09:05:02 = Ijm 09:05
-0010-09-15T04:44:23 = Jmo 04:44
π EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Jnn 18:30:30
1995-12-22T09:05:02 = Ijm 09:05:02
-0010-09-15T04:44:23 = Jmo 04:44:23
π Ed (d, E)
2008-02-05T18:30:30 = 5, Jnn
1995-12-22T09:05:02 = 22, Ijm
-0010-09-15T04:44:23 = 15, Jmo
π Ehm (E h:mm a)
2008-02-05T18:30:30 = Jnn 6:30 ichamthi
1995-12-22T09:05:02 = Ijm 9:05 icheheavo
-0010-09-15T04:44:23 = Jmo 4:44 icheheavo
π Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Jnn 6:30:30 ichamthi
1995-12-22T09:05:02 = Ijm 9:05:02 icheheavo
-0010-09-15T04:44:23 = Jmo 4:44:23 icheheavo
π Gy (G y)
2008-02-05T18:30:30 = BM 2008
1995-12-22T09:05:02 = BM 1995
-0010-09-15T04:44:23 = KM -10
π GyMMM (G y MMM)
2008-02-05T18:30:30 = BM 2008 Feb
1995-12-22T09:05:02 = BM 1995 Dec
-0010-09-15T04:44:23 = KM -10 Sep
π GyMMMEd (G y MMM d, E)
2008-02-05T18:30:30 = BM 2008 Feb 5, Jnn
1995-12-22T09:05:02 = BM 1995 Dec 22, Ijm
-0010-09-15T04:44:23 = KM -10 Sep 15, Jmo
π GyMMMd (G y MMM d)
2008-02-05T18:30:30 = BM 2008 Feb 5
1995-12-22T09:05:02 = BM 1995 Dec 22
-0010-09-15T04:44:23 = KM -10 Sep 15
π GyMd (GGGGG y-MM-dd)
2008-02-05T18:30:30 = BM 2008-02-05
1995-12-22T09:05:02 = BM 1995-12-22
-0010-09-15T04:44:23 = KM -10-09-15
π H (HH)
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
π Hm (HH:mm)
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
π Hms (HH:mm:ss)
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
π Hmsv (HH:mm:ss v)
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
π Hmv (HH:mm v)
2008-02-05T18:30:30 = 18:30 UTC
1995-12-22T09:05:02 = 09:05 UTC
-0010-09-15T04:44:23 = 04:44 UTC
π M (L)
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
π MEd (E, M/d)
2008-02-05T18:30:30 = Jnn, 2/5
1995-12-22T09:05:02 = Ijm, 12/22
-0010-09-15T04:44:23 = Jmo, 9/15
π MMM (LLL)
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sep
π MMMEd (E, MMM d)
2008-02-05T18:30:30 = Jnn, Feb 5
1995-12-22T09:05:02 = Ijm, Dec 22
-0010-09-15T04:44:23 = Jmo, Sep 15
π MMMMEd (E, MMMM d)
2008-02-05T18:30:30 = Jnn, Februari 5
1995-12-22T09:05:02 = Ijm, Desemba 22
-0010-09-15T04:44:23 = Jmo, Septemba 15
π MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of Februari
1995-12-22T09:05:02 = week 3 of Desemba
-0010-09-15T04:44:23 = week 2 of Septemba
yup, the literal wordsweekandofare in English inside the pattern β that's exactly what the page shows, we don't make the rules π
π MMMMd (MMMM d)
2008-02-05T18:30:30 = Februari 5
1995-12-22T09:05:02 = Desemba 22
-0010-09-15T04:44:23 = Septemba 15
π MMMd (MMM d)
2008-02-05T18:30:30 = Feb 5
1995-12-22T09:05:02 = Dec 22
-0010-09-15T04:44:23 = Sep 15
π Md (M/d)
2008-02-05T18:30:30 = 2/5
1995-12-22T09:05:02 = 12/22
-0010-09-15T04:44:23 = 9/15
π d (d)
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
π h (h a)
2008-02-05T18:30:30 = 6 ichamthi
1995-12-22T09:05:02 = 9 icheheavo
-0010-09-15T04:44:23 = 4 icheheavo
π hm (h:mm a)
2008-02-05T18:30:30 = 6:30 ichamthi
1995-12-22T09:05:02 = 9:05 icheheavo
-0010-09-15T04:44:23 = 4:44 icheheavo
π hms (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 ichamthi
1995-12-22T09:05:02 = 9:05:02 icheheavo
-0010-09-15T04:44:23 = 4:44:23 icheheavo
π hmsv (h:mm:ss a v)
2008-02-05T18:30:30 = 6:30:30 ichamthi UTC
1995-12-22T09:05:02 = 9:05:02 icheheavo UTC
-0010-09-15T04:44:23 = 4:44:23 icheheavo UTC
π hmv (h:mm a v)
2008-02-05T18:30:30 = 6:30 ichamthi UTC
1995-12-22T09:05:02 = 9:05 icheheavo UTC
-0010-09-15T04:44:23 = 4:44 icheheavo UTC
π ms (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
ms giving minutes and seconds and not milliseconds β read the pattern, bestie, it's right there in the parentheses π
π y (y)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
π yM (M/y)
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
π yMEd (E, M/d/y)
2008-02-05T18:30:30 = Jnn, 2/5/2008
1995-12-22T09:05:02 = Ijm, 12/22/1995
-0010-09-15T04:44:23 = Jmo, 9/15/-10
π yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sep -10
π yMMMEd (E, MMM d, y)
2008-02-05T18:30:30 = Jnn, Feb 5, 2008
1995-12-22T09:05:02 = Ijm, Dec 22, 1995
-0010-09-15T04:44:23 = Jmo, Sep 15, -10
π yMMMM (MMMM y)
2008-02-05T18:30:30 = Februari 2008
1995-12-22T09:05:02 = Desemba 1995
-0010-09-15T04:44:23 = Septemba -10
π yMMMd (d MMM y)
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sep -10
π yMd (d/M/y)
2008-02-05T18:30:30 = 5/2/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/9/-10
π yQQQ (QQQ y)
2008-02-05T18:30:30 = R1 2008
1995-12-22T09:05:02 = R4 1995
-0010-09-15T04:44:23 = R3 -10
π yQQQQ (QQQQ y)
and this is exactly where part 1 runs out of page, bestie β yQQQQ is announced but its example values are on the next chunk of the page π«Ά
okay so the last pattern's sample output was giving:
2008-02-05T18:30:30 = Robo 1 2008
1995-12-22T09:05:02 = Robo 4 1995
-0010-09-15T04:44:23 = Robo 3 -10
yw-count-other('week' w 'of' Y) β bestie this one is literally'week' w 'of' Y, and here's how it renders:
2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10
πΈ Miscellaneous πΈ
- Prefers 24 hour time? Yes π
- Local first day of the week:
1(Jumatatu) β no cap π«Ά
β¨ Strftime Patterns β¨
%c(%a %b %e %H:%M:%S %Y) β date time format
2008-02-05T18:30:30 = Jnn Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Ijm Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Jmo Sep 15 04:44:23 -10
%x(%m/%d/%y) β date format
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
%X(%H:%M:%S) β time format
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
π«Ά SUPPORT π«Ά
See DateTime::Locale.
and that's the whole vibe, bestie β this page is from perl v5.42.0, dated 2024-12-12, and it's DateTim...ale::asa(3) β periodt π β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms