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 β€” J shows up three times, M twice, A twice. 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:30
  • 1995-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 words week and of are 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