DateTim...ale::io(3)

πŸ’… DateTime::Locale::io(3)

okay so bestie, welcome to the DateTime::Locale::io page β€” User Contributed Perl Documentation, and it's literally the whole vibe check for the Ido (io) locale. Think of it as a giant show-and-tell box: every scrap of locale data this locale has, demonstrated with examples so you can see exactly what you'd get. Pull up a chair. πŸŽ€

✨ NAME ✨

DateTime::Locale::io β€” locale data examples for the Ido (io) locale. that's it, that's the name, icon status only πŸ’…

🌸 DESCRIPTION 🌸

this pod file is literally just examples of the locale data available for the Ido locale. no gatekeeping, everything's on display. let's go section by section πŸ¦‹

πŸ—“οΈ Days

Wide (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Abbreviated (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone)

M
T
W
T
F
S
S

the way narrow format has three separate days that are all just T and two that are both S… truly chaotic energy but we respect it 😭✨


πŸŒ™ Months

Wide (format)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Abbreviated (format)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Narrow (format)

1
2
3
4
5
6
7
8
9
10
11
12

Wide (stand-alone)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Abbreviated (stand-alone)

M01
M02
M03
M04
M05
M06
M07
M08
M09
M10
M11
M12

Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12

not the months being straight-up placeholders (M01 through M12) πŸ’€ but hey, that IS the data, and narrow is just plain numbers 1–12. we're not gonna pretend otherwise. πŸ“


πŸŽ€ Quarters

Wide (format)

Q1
Q2
Q3
Q4

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

Q1
Q2
Q3
Q4

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

πŸ‘‘ Eras

Wide (format)

BCE
CE

Abbreviated (format)

BCE
CE

Narrow (format)

BCE
CE

and yes, that's all three lists being identical β€” BCE then CE. consistent queen 🌈


πŸ“… Date Formats

Full

2008-02-05T18:30:30 = 2008 M02 5, Tue
1995-12-22T09:05:02 = 1995 M12 22, Fri
-0010-09-15T04:44:23 = -10 M09 15, Sat

Long

2008-02-05T18:30:30 = 2008 M02 5
1995-12-22T09:05:02 = 1995 M12 22
-0010-09-15T04:44:23 = -10 M09 15

Medium

2008-02-05T18:30:30 = 2008 M02 5
1995-12-22T09:05:02 = 1995 M12 22
-0010-09-15T04:44:23 = -10 M09 15

Short

2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15

same three sample timestamps every time so you can compare across all the formats. lowkey genius. iykyk πŸ”₯


⏰ Time Formats

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

Full and Long are twinning (both keep the UTC), Medium and Short drop it. slay πŸ’…


πŸ•°οΈ Datetime Formats

Full

2008-02-05T18:30:30 = 2008 M02 5, Tue 18:30:30 UTC
1995-12-22T09:05:02 = 1995 M12 22, Fri 09:05:02 UTC
-0010-09-15T04:44:23 = -10 M09 15, Sat 04:44:23 UTC

Long

2008-02-05T18:30:30 = 2008 M02 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 M12 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 M09 15 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 2008 M02 5 18:30:30
1995-12-22T09:05:02 = 1995 M12 22 09:05:02
-0010-09-15T04:44:23 = -10 M09 15 04:44:23

Short

2008-02-05T18:30:30 = 2008-02-05 18:30
1995-12-22T09:05:02 = 1995-12-22 09:05
-0010-09-15T04:44:23 = -10-09-15 04:44

this is the date + time combo meal, main character energy fr 🫢


🌟 Available Formats

okay this is the big one β€” every single named format, its pattern in parens, and the three worked examples. buckle up bestie, we're going through ALL of them πŸ’–

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

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

Gy (G y)

2008-02-05T18:30:30 = CE 2008
1995-12-22T09:05:02 = CE 1995
-0010-09-15T04:44:23 = BCE -10

GyMMM (G y MMM)

2008-02-05T18:30:30 = CE 2008 M02
1995-12-22T09:05:02 = CE 1995 M12
-0010-09-15T04:44:23 = BCE -10 M09

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = CE 2008 M02 5, Tue
1995-12-22T09:05:02 = CE 1995 M12 22, Fri
-0010-09-15T04:44:23 = BCE -10 M09 15, Sat

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = CE 2008 M02 5
1995-12-22T09:05:02 = CE 1995 M12 22
-0010-09-15T04:44:23 = BCE -10 M09 15

GyMd (GGGGG y-MM-dd)

2008-02-05T18:30:30 = CE 2008-02-05
1995-12-22T09:05:02 = CE 1995-12-22
-0010-09-15T04:44:23 = BCE -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 (MM-dd, E)

2008-02-05T18:30:30 = 02-05, Tue
1995-12-22T09:05:02 = 12-22, Fri
-0010-09-15T04:44:23 = 09-15, Sat

MMM (LLL)

2008-02-05T18:30:30 = M02
1995-12-22T09:05:02 = M12
-0010-09-15T04:44:23 = M09

MMMEd (MMM d, E)

2008-02-05T18:30:30 = M02 5, Tue
1995-12-22T09:05:02 = M12 22, Fri
-0010-09-15T04:44:23 = M09 15, Sat

MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of M02
1995-12-22T09:05:02 = week 3 of M12
-0010-09-15T04:44:23 = week 2 of M09

MMMMd (MMMM d)

2008-02-05T18:30:30 = M02 5
1995-12-22T09:05:02 = M12 22
-0010-09-15T04:44:23 = M09 15

MMMd (MMM d)

2008-02-05T18:30:30 = M02 5
1995-12-22T09:05:02 = M12 22
-0010-09-15T04:44:23 = M09 15

Md (MM-dd)

2008-02-05T18:30:30 = 02-05
1995-12-22T09:05:02 = 12-22
-0010-09-15T04:44:23 = 09-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

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

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

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

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

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 (y-MM)

2008-02-05T18:30:30 = 2008-02
1995-12-22T09:05:02 = 1995-12
-0010-09-15T04:44:23 = -10-09

yMEd (y-MM-dd, E)

2008-02-05T18:30:30 = 2008-02-05, Tue
1995-12-22T09:05:02 = 1995-12-22, Fri
-0010-09-15T04:44:23 = -10-09-15, Sat

yMMM (y MMM)

2008-02-05T18:30:30 = 2008 M02
1995-12-22T09:05:02 = 1995 M12
-0010-09-15T04:44:23 = -10 M09

yMMMEd (y MMM d, E)

2008-02-05T18:30:30 = 2008 M02 5, Tue
1995-12-22T09:05:02 = 1995 M12 22, Fri
-0010-09-15T04:44:23 = -10 M09 15, Sat

yMMMM (y MMMM)

2008-02-05T18:30:30 = 2008 M02
1995-12-22T09:05:02 = 1995 M12
-0010-09-15T04:44:23 = -10 M09

yMMMd (y MMM d)

2008-02-05T18:30:30 = 2008 M02 5
1995-12-22T09:05:02 = 1995 M12 22
-0010-09-15T04:44:23 = -10 M09 15

yMd (y-MM-dd)

2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15

yQQQ (y QQQ)

2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3

yQQQQ (y QQQQ)

2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3

yw-count-other ('week' w 'of' Y)

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

and that's every last one of them. not a single option skipped, we ate and left no crumbs πŸ”₯πŸ“


🧚 Miscellaneous

Prefers 24 hour time?

Yes

Local first day of the week

1 (Mon)


πŸ¦‹ Strftime Patterns

%c (%a %b %e %H:%M:%S %Y) - date time format

2008-02-05T18:30:30 = Tue M02  5 18:30:30 2008
1995-12-22T09:05:02 = Fri M12 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat M09 15 04:44:23 -10
ok bestie, notice that double space in Tue M02 5 β€” that's %e doing its space-padded thing, not a typo. copy it exactly if you're matching output πŸ’…

✨ the format list, continued ✨

  • %x (which expands to %m/%d/%y) β€” the date format for this locale. Slashy, numeric, very "fill out this form at the doctor's office" energy πŸ’…
 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 (which expands to %H:%M:%S) β€” the time format for this locale. 24-hour clock, colons, no drama ✨
 2008-02-05T18:30:30 = 18:30:30
 1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

Like, look at that last one β€” negative year, -0010, still confidently formatting its lil time. We stan a format string that doesn't panic πŸ˜­πŸ‘‘


πŸ¦‹ SUPPORT

Need more? Go see DateTime::Locale. That's the whole vibe check β€” it's giving "here's where the real locale tea lives" 🫢


okay bestie that's a wrap on this one!! πŸ’– sign-off time: this page came from perl v5.42.0, dated 2024-12-12, and honestly? iconic of it. go format some dates, you're gonna slay πŸŽ€πŸŒˆπŸ’œ

πŸ“¦ where this page comes from