DateTim...e::en_UM(3)
π NAME π
DateTime::Locale::en_UM β Locale data examples for the English U.S. Outlying Islands (en-UM) locale
okay so this is the DateTime::Locale::en_UM(3) page from the User Contributed Perl Documentation, and it's literally a showcase of locale data examples. Bestie, we're going through every single day, month, quarter, era, date format, time format, datetime format, and available format, and nothing gets left out. Periodt. π«Ά
β¨ DESCRIPTION β¨
This pod file contains examples of the locale data available for the English U.S. Outlying Islands locale. It's giving reference material, but make it cute. π
π Days π
First up: the days. You get wide, abbreviated, and narrow versions, and both format and stand-alone flavors. Yes, the wide lists repeat, but they're separate labels, so they both stay. No cap. π
ποΈ Wide (format)
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
ποΈ Abbreviated (format)
Mon
Tue
Wed
Thu
Fri
Sat
Sun
ποΈ Narrow (format)
M
T
W
T
F
S
S
ποΈ Wide (stand-alone)
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
ποΈ Abbreviated (stand-alone)
Mon
Tue
Wed
Thu
Fri
Sat
Sun
ποΈ Narrow (stand-alone)
M
T
W
T
F
S
S
πΈ Months πΈ
Next: months, same situation β wide, abbreviated, narrow, and both format and stand-alone versions. The abbreviations are iconic, honestly. π
π· Wide (format)
January
February
March
April
May
June
July
August
September
October
November
December
π· Abbreviated (format)
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
π· Narrow (format)
J
F
M
A
M
J
J
A
S
O
N
D
π· Wide (stand-alone)
January
February
March
April
May
June
July
August
September
October
November
December
π· Abbreviated (stand-alone)
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
π· Narrow (stand-alone)
J
F
M
A
M
J
J
A
S
O
N
D
π¦ Quarters π¦
Quarters! Wide, abbreviated, narrow, and again both format and stand-alone. Slay. π
β Wide (format)
1st quarter
2nd quarter
3rd quarter
4th quarter
β Abbreviated (format)
Q1
Q2
Q3
Q4
β Narrow (format)
1
2
3
4
β Wide (stand-alone)
1st quarter
2nd quarter
3rd quarter
4th quarter
β Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
β Narrow (stand-alone)
1
2
3
4
π Eras π
Eras, bestie. Wide, abbreviated, and narrow β that's the whole list here. π«Ά
π Wide (format)
Before Christ
Anno Domini
π Abbreviated (format)
BC
AD
π Narrow (format)
B
A
π« Date Formats π«
Okay, date formats. Full, Long, Medium, Short β each one gets three example datetimes. The negative-year one is giving time traveler realness. π
π Full
2008-02-05T18:30:30 = Tuesday, February 5, 2008
1995-12-22T09:05:02 = Friday, December 22, 1995
-0010-09-15T04:44:23 = Saturday, September 15, -10
π Long
2008-02-05T18:30:30 = February 5, 2008
1995-12-22T09:05:02 = December 22, 1995
-0010-09-15T04:44:23 = September 15, -10
π Medium
2008-02-05T18:30:30 = Feb 5, 2008
1995-12-22T09:05:02 = Dec 22, 1995
-0010-09-15T04:44:23 = Sep 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
π°οΈ Time Formats π°οΈ
Time formats! Full and Long both show UTC; Medium and Short do not. I'm not adding anything, just pointing at the tea that's already here. π
π Full
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
π Long
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
π Medium
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
π Short
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
π Datetime Formats π
Datetime formats = date + time, and they are serving exactly what you'd expect. Full, Long, Medium, Short, all accounted for. π
π¦ Full
2008-02-05T18:30:30 = Tuesday, February 5, 2008, 6:30:30 PM UTC
1995-12-22T09:05:02 = Friday, December 22, 1995, 9:05:02 AM UTC
-0010-09-15T04:44:23 = Saturday, September 15, -10, 4:44:23 AM UTC
π¦ Long
2008-02-05T18:30:30 = February 5, 2008, 6:30:30 PM UTC
1995-12-22T09:05:02 = December 22, 1995, 9:05:02 AM UTC
-0010-09-15T04:44:23 = September 15, -10, 4:44:23 AM UTC
π¦ Medium
2008-02-05T18:30:30 = Feb 5, 2008, 6:30:30 PM
1995-12-22T09:05:02 = Dec 22, 1995, 9:05:02 AM
-0010-09-15T04:44:23 = Sep 15, -10, 4:44:23 AM
π¦ Short
2008-02-05T18:30:30 = 2/5/08, 6:30 PM
1995-12-22T09:05:02 = 12/22/95, 9:05 AM
-0010-09-15T04:44:23 = 9/15/-10, 4:44 AM
π Available Formats π
This is the big one, bestie. Each heading is the format key plus its pattern in parentheses, and then the three example outputs. I'm keeping every single one β even the alt-ascii twins β because we do not skip. π
πΈ 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 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
πΈ EBhm (E h:mm B)
2008-02-05T18:30:30 = Tue 6:30 B
1995-12-22T09:05:02 = Fri 9:05 B
-0010-09-15T04:44:23 = Sat 4:44 B
πΈ EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Tue 6:30:30 B
1995-12-22T09:05:02 = Fri 9:05:02 B
-0010-09-15T04:44:23 = Sat 4:44:23 B
πΈ EHm (E HH:mm)
2008-02-05T18:30:30 = Tue 18:30
1995-12-22T09:05:02 = Fri 09:05
-0010-09-15T04:44:23 = Sat 04:44
πΈ EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Tue 18:30:30
1995-12-22T09:05:02 = Fri 09:05:02
-0010-09-15T04:44:23 = Sat 04:44:23
πΈ Ed (d E)
2008-02-05T18:30:30 = 5 Tue
1995-12-22T09:05:02 = 22 Fri
-0010-09-15T04:44:23 = 15 Sat
πΈ Ehm (E h:mm a)
2008-02-05T18:30:30 = Tue 6:30 PM
1995-12-22T09:05:02 = Fri 9:05 AM
-0010-09-15T04:44:23 = Sat 4:44 AM
πΈ Ehm-alt-ascii (E h:mm a)
2008-02-05T18:30:30 = Tue 6:30 PM
1995-12-22T09:05:02 = Fri 9:05 AM
-0010-09-15T04:44:23 = Sat 4:44 AM
πΈ Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Tue 6:30:30 PM
1995-12-22T09:05:02 = Fri 9:05:02 AM
-0010-09-15T04:44:23 = Sat 4:44:23 AM
πΈ Ehms-alt-ascii (E h:mm:ss a)
2008-02-05T18:30:30 = Tue 6:30:30 PM
1995-12-22T09:05:02 = Fri 9:05:02 AM
-0010-09-15T04:44:23 = Sat 4:44:23 AM
πΈ 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 = Feb 2008 AD
1995-12-22T09:05:02 = Dec 1995 AD
-0010-09-15T04:44:23 = Sep -10 BC
πΈ GyMMMEd (E, MMM d, y G)
2008-02-05T18:30:30 = Tue, Feb 5, 2008 AD
1995-12-22T09:05:02 = Fri, Dec 22, 1995 AD
-0010-09-15T04:44:23 = Sat, Sep 15, -10 BC
πΈ GyMMMd (MMM d, y G)
2008-02-05T18:30:30 = Feb 5, 2008 AD
1995-12-22T09:05:02 = Dec 22, 1995 AD
-0010-09-15T04:44:23 = Sep 15, -10 BC
πΈ GyMd (M/d/y G)
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 = Tue, 2/5
1995-12-22T09:05:02 = Fri, 12/22
-0010-09-15T04:44:23 = Sat, 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 = Tue, Feb 5
1995-12-22T09:05:02 = Fri, Dec 22
-0010-09-15T04:44:23 = Sat, Sep 15
πΈ MMMMW-count-one ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
πΈ MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
πΈ MMMMd (MMMM d)
2008-02-05T18:30:30 = February 5
1995-12-22T09:05:02 = December 22
-0010-09-15T04:44:23 = September 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 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM
πΈ h-alt-ascii (h a)
2008-02-05T18:30:30 = 6 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM
πΈ hm (h:mm a)
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
πΈ hm-alt-ascii (h:mm a)
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
πΈ hms (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
πΈ hms-alt-ascii (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
πΈ hmsv (h:mm:ss a v)
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
πΈ hmsv-alt-ascii (h:mm:ss a v)
2008-02-05T18:30:30 = 6:30:30 PM UTC
1995-12-22T09:05:02 = 9:05:02 AM UTC
-0010-09-15T04:44:23 = 4:44:23 AM UTC
πΈ hmv (h:mm a v)
2008-02-05T18:30:30 = 6:30 PM UTC
1995-12-22T09:05:02 = 9:05 AM UTC
-0010-09-15T04:44:23 = 4:44 AM UTC
πΈ hmv-alt-ascii (h:mm a v)
2008-02-05T18:30:30 = 6:30 PM UTC
1995-12-22T09:05:02 = 9:05 AM UTC
-0010-09-15T04:44:23 = 4:44 AM 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
πΈ y (y)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
πΈ yM (M/y)
the examples for this one are in part 2 β hold that thought, bestie. π
β¦and yM (the M/y one, if you were wondering) is giving:
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) β bestie this one's the full little package:
2008-02-05T18:30:30 = Tue, 2/5/2008
1995-12-22T09:05:02 = Fri, 12/22/1995
-0010-09-15T04:44:23 = Sat, 9/15/-10
yMMM (MMM y) β short month, no notes:
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) β the "when was that again" icon:
2008-02-05T18:30:30 = Tue, Feb 5, 2008
1995-12-22T09:05:02 = Fri, Dec 22, 1995
-0010-09-15T04:44:23 = Sat, Sep 15, -10
yMMMM (MMMM y) β month gets to say its whole name, main character energy:
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
yMMMd (MMM d, y):
2008-02-05T18:30:30 = Feb 5, 2008
1995-12-22T09:05:02 = Dec 22, 1995
-0010-09-15T04:44:23 = Sep 15, -10
yMd (M/d/y) β the classic, no crumbs:
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) β quarter szn:
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
yQQQQ (QQQQ y) β quarter but it's spelling everything out for you:
2008-02-05T18:30:30 = 1st quarter 2008
1995-12-22T09:05:02 = 4th quarter 1995
-0010-09-15T04:44:23 = 3rd quarter -10
yw-count-one ('week' w 'of' Y) β week number, singular vibes β¨:
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
yw-count-other ('week' w 'of' Y) β same content, plural bucket, still iconic:
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 πΈ
Ok so the fun little settings, no cap:
- Prefers 24 hour time? β
No. That's it. That's the whole answer. π - Local first day of the week β
7 (Sunday). Week starts on Sunday here, periodt.
π Strftime Patterns π
These are the strftime-style ones β the old-school shortcuts that still ate. π
%c(%a %b %e %H:%M:%S %Y) β date time format
2008-02-05T18:30:30 = Tue Feb 5 18:30:30 2008
1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat Sep 15 04:44:23 -10
(yes the double space before the 5 is literally in there, do not come for me π«Ά)
%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
lowkey obsessed with the fact that the last one goes 04:44:23 β that's a vibe check passed β
π SUPPORT π
Need more? Go see DateTime::Locale. That's the whole support section, she's low-maintenance like that. π
and that's a wrap bestie!! π¦ this lil slice of doc was brought to you by perl v5.42.0, stamped 2024-12-12, and filed under DateTim...e::en_UM(3) β go forth and format your dates, you absolute legend ππ
π¦ 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