DateTim...ale::chr(3)
πΈ NAME πΈ
Bestie, welcome to DateTime::Locale::chr β the Locale data examples for the Cherokee (chr) locale. Yes, that's DateTim...ale::chr(3) if you're squinting at the tab-complete, and yes, we're gonna go through every single bit of it together. π
(The man page title got chopped by your terminal width, that's just a DateTime::Locale::chr thing, no cap.)
β¨ DESCRIPTION β¨
Okay so real talk: this pod file is literally just examples of the locale data that's available for the Cherokee locale. That's the whole vibe. It's a showcase, a lookbook, a little fashion show of locale strings. π¦
So grab a boba and let's scroll through it together. π§
π Days π
Wide (format)
These are the day names, full-length, in formatting context. Seven icons, seven days:
α€αΎαααα
α―
αα΅αα’α¦
α¦α’αα’α¦
α
α©αα’α¦
α§αΎα©αΆαα
α€αΎαααααΎ
α€αΎααααα¬
Abbreviated (format)
The short king versions, format style:
αα
α―
αα΅α
α¦α’α
α
α©α
α§αΎα©
αααΎ
ααα¬
Narrow (format)
Absolute baby-sized. Single characters, format style β one per line, no notes:
α
α
α¦
α
α§
α€
α
Wide (stand-alone)
Same full names but standing on their own, serving main character energy:
α€αΎαααα
α―
αα΅αα’α¦
α¦α’αα’α¦
α
α©αα’α¦
α§αΎα©αΆαα
α€αΎαααααΎ
α€αΎααααα¬
Abbreviated (stand-alone)
Short and standing alone, still iconic:
αα
α―
αα΅α
α¦α’α
α
α©α
α§αΎα©
αααΎ
ααα¬
Okay wait β important, bestie, I typo'd nothing there on purpose, but the real list is the one above this note. If a character looks off to your font, that's your font being messy, not the data. π
Hmm, actually β let me not gaslight you, let me just restate it clean, because accuracy is the whole point and I refuse to fumble the bag:
αα
α―
αα΅α
α¦α’α
α
α©α
α§αΎα©
αααΎ
ααα¬
Narrow (stand-alone)
Tiny, solo, unbothered:
α
α
α¦
α
α§
α€
α
π Months π
Wide (format)
Twelve months, full name, format context. The whole calendar ate:
α€ααΈαα
α§α¦α΅
α α
α±
α§α¬α
α ααα¬α
ααα·α±
α«α°αα
α¦αΆα
αα΅αα
ααα
α
α
ααα
α₯αα©α±
Abbreviated (format)
The three-letter-ish glow-down, format style:
α€α
α§α¦
α α
α§α¬
α α
αα
α«α°
α¦αΆ
αα΅
αα
α
α
α₯α
Narrow (format)
One character each, format style. Minimalist queen:
α€
α§
α
α§
α
α
α«
α¦
α
α
α
α₯
Wide (stand-alone)
Full month names, standing alone and thriving:
α€ααΈαα
α§α¦α΅
α α
α±
α§α¬α
α ααα¬α
ααα·α±
α«α°αα
α¦αΆα
αα΅αα
ααα
α
α
ααα
α₯αα©α±
Abbreviated (stand-alone)
Short forms doing their own thing:
α€α
α§α¦
α α
α§α¬
α α
αα
α«α°
α¦αΆ
αα΅
αα
α
α
α₯α
Narrow (stand-alone)
Vibes only, single characters:
α€
α§
α
α§
α
α
α«
α¦
α
α
α
α₯
π¦ Quarters π¦
Wide (format)
Four quarters, full-length, format mode β and yes, all four share that same α©ααα:
1st α©ααα
2nd α©ααα
3rd α©ααα
4th α©ααα
Abbreviated (format)
Short and sweet:
Q1
Q2
Q3
Q4
Narrow (format)
Just the digits, no thoughts:
1
2
3
4
Wide (stand-alone)
Full-length quarters flying solo:
1st α©ααα
2nd α©ααα
3rd α©ααα
4th α©ααα
Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
Narrow (stand-alone)
1
2
3
4
β Eras β
Wide (format)
The big cosmic eras, all spelled out:
α§αα·αΈ α€α·α―αα α¦αΆαα
α α αα»α
Abbreviated (format)
BC
AD
Narrow (format)
Same energy, narrower:
BC
AD
Notice there's no stand-alone variant for Eras here β only format. That's not me skipping homework, that's genuinely what's in the file. π
π Date Formats π
Full
2008-02-05T18:30:30 = αα΅αα’α¦, α§α¦α΅ 5, 2008
1995-12-22T09:05:02 = α§αΎα©αΆαα, α₯αα©α± 22, 1995
-0010-09-15T04:44:23 = α€αΎαααααΎ, αα΅αα 15, -10
Long
2008-02-05T18:30:30 = α§α¦α΅ 5, 2008
1995-12-22T09:05:02 = α₯αα©α± 22, 1995
-0010-09-15T04:44:23 = αα΅αα 15, -10
Medium
2008-02-05T18:30:30 = α§α¦ 5, 2008
1995-12-22T09:05:02 = α₯α 22, 1995
-0010-09-15T04:44:23 = αα΅ 15, -10
Short
2008-02-05T18:30:30 = 2/5/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 9/15/-10
That last one is a negative year,-10, and it renders as9/15/-10. Not a typo, not a glitch β that's just how it do. π«Ά
π Time Formats π
Full
2008-02-05T18:30:30 = 6:30:30 αα―α±α’ UTC
1995-12-22T09:05:02 = 9:05:02 ααΎα΄ UTC
-0010-09-15T04:44:23 = 4:44:23 ααΎα΄ UTC
Long
2008-02-05T18:30:30 = 6:30:30 αα―α±α’ UTC
1995-12-22T09:05:02 = 9:05:02 ααΎα΄ UTC
-0010-09-15T04:44:23 = 4:44:23 ααΎα΄ UTC
Medium
2008-02-05T18:30:30 = 6:30:30 αα―α±α’
1995-12-22T09:05:02 = 9:05:02 ααΎα΄
-0010-09-15T04:44:23 = 4:44:23 ααΎα΄
Short
2008-02-05T18:30:30 = 6:30 αα―α±α’
1995-12-22T09:05:02 = 9:05 ααΎα΄
-0010-09-15T04:44:23 = 4:44 ααΎα΄
π Datetime Formats π
Full
2008-02-05T18:30:30 = αα΅αα’α¦, α§α¦α΅ 5, 2008, 6:30:30 αα―α±α’ UTC
1995-12-22T09:05:02 = α§αΎα©αΆαα, α₯αα©α± 22, 1995, 9:05:02 ααΎα΄ UTC
-0010-09-15T04:44:23 = α€αΎαααααΎ, αα΅αα 15, -10, 4:44:23 ααΎα΄ UTC
Long
2008-02-05T18:30:30 = α§α¦α΅ 5, 2008, 6:30:30 αα―α±α’ UTC
1995-12-22T09:05:02 = α₯αα©α± 22, 1995, 9:05:02 ααΎα΄ UTC
-0010-09-15T04:44:23 = αα΅αα 15, -10, 4:44:23 ααΎα΄ UTC
Medium
2008-02-05T18:30:30 = α§α¦ 5, 2008, 6:30:30 αα―α±α’
1995-12-22T09:05:02 = α₯α 22, 1995, 9:05:02 ααΎα΄
-0010-09-15T04:44:23 = αα΅ 15, -10, 4:44:23 ααΎα΄
Short
2008-02-05T18:30:30 = 2/5/08, 6:30 αα―α±α’
1995-12-22T09:05:02 = 12/22/95, 9:05 ααΎα΄
-0010-09-15T04:44:23 = 9/15/-10, 4:44 ααΎα΄
π Available Formats π
Okay this is the big one, the main event, the runway. Each entry below shows the format skeleton in the parentheses and then the three sample timestamps rendered through it. Do not skip, we are NOT skipping, every single one is here. π
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 = αα΅α
1995-12-22T09:05:02 = α§αΎα©
-0010-09-15T04:44:23 = αααΎ
EBhm (E 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
EBhms (E 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
EHm (E HH:mm)
2008-02-05T18:30:30 = αα΅α 18:30
1995-12-22T09:05:02 = α§αΎα© 09:05
-0010-09-15T04:44:23 = αααΎ 04:44
EHms (E 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
Ed (d E)
2008-02-05T18:30:30 = 5 αα΅α
1995-12-22T09:05:02 = 22 α§αΎα©
-0010-09-15T04:44:23 = 15 αααΎ
Ehm (E h:mm a)
2008-02-05T18:30:30 = αα΅α 6:30 αα―α±α’
1995-12-22T09:05:02 = α§αΎα© 9:05 ααΎα΄
-0010-09-15T04:44:23 = αααΎ 4:44 ααΎα΄
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = αα΅α 6:30:30 αα―α±α’
1995-12-22T09:05:02 = α§αΎα© 9:05:02 ααΎα΄
-0010-09-15T04:44:23 = αααΎ 4:44:23 ααΎα΄
Gy (y G)
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC
GyMMM (MMM y G)
2008-02-05T18:30:30 = α§α¦ 2008 AD
1995-12-22T09:05:02 = α₯α 1995 AD
-0010-09-15T04:44:23 = αα΅ -10 BC
GyMMMEd (E, MMM d, y G)
2008-02-05T18:30:30 = αα΅α, α§α¦ 5, 2008 AD
1995-12-22T09:05:02 = α§αΎα©, α₯α 22, 1995 AD
-0010-09-15T04:44:23 = αααΎ, αα΅ 15, -10 BC
GyMMMd (MMM d, y G)
2008-02-05T18:30:30 = α§α¦ 5, 2008 AD
1995-12-22T09:05:02 = α₯α 22, 1995 AD
-0010-09-15T04:44:23 = αα΅ 15, -10 BC
GyMd (M/d/y GGGGG)
2008-02-05T18:30:30 = 2/5/2008 AD
1995-12-22T09:05:02 = 12/22/1995 AD
-0010-09-15T04:44:23 = 9/15/-10 BC
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 = αα΅α, 2/5
1995-12-22T09:05:02 = α§αΎα©, 12/22
-0010-09-15T04:44:23 = αααΎ, 9/15
MMM (LLL)
2008-02-05T18:30:30 = α§α¦
1995-12-22T09:05:02 = α₯α
-0010-09-15T04:44:23 = αα΅
MMMEd (E, MMM d)
2008-02-05T18:30:30 = αα΅α, α§α¦ 5
1995-12-22T09:05:02 = α§αΎα©, α₯α 22
-0010-09-15T04:44:23 = αααΎ, αα΅ 15
MMMMW-count-one (ααΎααααα W αΎαΏ MMMM)
2008-02-05T18:30:30 = ααΎααααα 1 αΎαΏ α§α¦α΅
1995-12-22T09:05:02 = ααΎααααα 3 αΎαΏ α₯αα©α±
-0010-09-15T04:44:23 = ααΎααααα 2 αΎαΏ αα΅αα
MMMMW-count-other (ααΎααααα W αΎαΏ MMMM)
2008-02-05T18:30:30 = ααΎααααα 1 αΎαΏ α§α¦α΅
1995-12-22T09:05:02 = ααΎααααα 3 αΎαΏ α₯αα©α±
-0010-09-15T04:44:23 = ααΎααααα 2 αΎαΏ αα΅αα
Real talk:count-oneandcount-otherrender the exact same strings here. That's not me being lazy, that's literally the data. Plural categories are a whole thing and Cherokee's just built different. π«Ά
MMMMd (MMMM d)
2008-02-05T18:30:30 = α§α¦α΅ 5
1995-12-22T09:05:02 = α₯αα©α± 22
-0010-09-15T04:44:23 = αα΅αα 15
MMMd (MMM d)
2008-02-05T18:30:30 = α§α¦ 5
1995-12-22T09:05:02 = α₯α 22
-0010-09-15T04:44:23 = αα΅ 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 αα―α±α’
1995-12-22T09:05:02 = 9 ααΎα΄
-0010-09-15T04:44:23 = 4 ααΎα΄
hm (h:mm a)
2008-02-05T18:30:30 = 6:30 αα―α±α’
1995-12-22T09:05:02 = 9:05 ααΎα΄
-0010-09-15T04:44:23 = 4:44 ααΎα΄
hms (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 αα―α±α’
1995-12-22T09:05:02 = 9:05:02 ααΎα΄
-0010-09-15T04:44:23 = 4:44:23 ααΎα΄
hmsv (h:mm:ss a v)
2008-02-05T18:30:30 = 6:30:30 αα―α±α’ UTC
1995-12-22T09:05:02 = 9:05:02 ααΎα΄ UTC
-0010-09-15T04:44:23 = 4:44:23 ααΎα΄ UTC
hmv (h:mm a v)
2008-02-05T18:30:30 = 6:30 αα―α±α’ UTC
1995-12-22T09:05:02 = 9:05 ααΎα΄ UTC
-0010-09-15T04:44:23 = 4:44 ααΎα΄ UTC
ms (mm:ss)
...and that's exactly where the page hands off, bestie β the format list keeps going and we're only on part one of two. Stay tuned, don't touch that dial, part 2 is coming. π
β¦and we're right back in it, bestie β same three timestamps for every single pattern, so you can compare them side by side. Here's the next one:
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
π y (y)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
Yeah, that last one is a negative year, and yes it's giving main character energy. Moving on π₯
πΈ 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 = αα΅α, 2/5/2008
1995-12-22T09:05:02 = α§αΎα©, 12/22/1995
-0010-09-15T04:44:23 = αααΎ, 9/15/-10
π yMMM (MMM y)
2008-02-05T18:30:30 = α§α¦ 2008
1995-12-22T09:05:02 = α₯α 1995
-0010-09-15T04:44:23 = αα΅ -10
β¨ yMMMEd (E, MMM d, y)
2008-02-05T18:30:30 = αα΅α, α§α¦ 5, 2008
1995-12-22T09:05:02 = α§αΎα©, α₯α 22, 1995
-0010-09-15T04:44:23 = αααΎ, αα΅ 15, -10
πΌ yMMMM (MMMM y)
2008-02-05T18:30:30 = α§α¦α΅ 2008
1995-12-22T09:05:02 = α₯αα©α± 1995
-0010-09-15T04:44:23 = αα΅αα -10
π yMMMd (MMM d, y)
2008-02-05T18:30:30 = α§α¦ 5, 2008
1995-12-22T09:05:02 = α₯α 22, 1995
-0010-09-15T04:44:23 = αα΅ 15, -10
π§ yMd (M/d/y)
2008-02-05T18:30:30 = 2/5/2008
1995-12-22T09:05:02 = 12/22/1995
-0010-09-15T04:44:23 = 9/15/-10
π yQQQ (QQQ y)
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
β yQQQQ (QQQQ y)
2008-02-05T18:30:30 = 1st α©ααα 2008
1995-12-22T09:05:02 = 4th α©ααα 1995
-0010-09-15T04:44:23 = 3rd α©ααα -10
π yw-count-one (βααΎαααααβ w βαΎαΏβ Y)
2008-02-05T18:30:30 = βααΎαααααβ 6 βαΎαΏβ 2008
1995-12-22T09:05:02 = βααΎαααααβ 51 βαΎαΏβ 1995
-0010-09-15T04:44:23 = βααΎαααααβ 37 βαΎαΏβ -10
π
yw-count-other (βααΎαααααβ w βαΎαΏβ Y)
2008-02-05T18:30:30 = βααΎαααααβ 6 βαΎαΏβ 2008
1995-12-22T09:05:02 = βααΎαααααβ 51 βαΎαΏβ 1995
-0010-09-15T04:44:23 = βααΎαααααβ 37 βαΎαΏβ -10
Not me noticing yw-count-one and yw-count-other are literally identical output here π the plural rules are doing the absolute most for zero payoff. Iconic, honestly.
π¦ Miscellaneous π¦
The little odds and ends of the locale β here's the vibe check:
- Prefers 24 hour time? No
- Local first day of the week
1(α€αΎαααα α―)
So like, 12-hour clock girlies rise up, and the week starts on day 1. π«Ά
β¨ Strftime Patterns β¨
These are the classic strftime patterns β the old-school ones your C library is also passing notes to in class. Same three timestamps, obviously π
π %c (%a %b %e %H:%M:%S %Y) β date time format
2008-02-05T18:30:30 = αα΅α α§α¦ 5 18:30:30 2008
1995-12-22T09:05:02 = α§αΎα© α₯α 22 09:05:02 1995
-0010-09-15T04:44:23 = αααΎ αα΅ 15 04:44:23 -10
(And yes, there really are two spaces in there before the 5 on that first line β the spacing is padding, and it is serving.)
πΈ %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. That's it, that's the whole support section β short, sweet, and lowkey leaving you to go read the actual docs. Respect. π
All of this Cherokee locale goodness lives in DateTime::Locale::chr, and it's been living its best life as part of perl v5.42.0, dated 2024-12-12. Go forth and format some dates, bestie β you're gonna slay it, fr fr ππ
π¦ 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