DateTim...e::en_IO(3)

πŸ’– NAME πŸ’–

DateTime::Locale::en_IO β€” locale data examples for the English British Indian Ocean Territory (en-IO) locale ✨

(also the header up top says DateTim...e::en_IO(3) because man pages are dramatic and truncate their own titles, iykyk πŸ’…)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this pod file is literally just a showcase β€” it's full of examples of the locale data available for the English British Indian Ocean Territory locale. Not a how-to, not a tutorial, just vibes and reference data. It's giving "look at all my outfits" but the outfits are day names 🌸

This is part 1 of 2, bestie β€” keep reading, we're not done yet 🫢


🌈 Days

The way this locale names its days? Immaculate. Here's the whole week, every single format πŸ’–

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
ngl the narrow ones are a chaos vibe β€” T shows up twice, S shows up twice. That's not a typo, that's just how it is πŸ’€

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

Twelve of them, all iconic, all present and accounted for 🧚

Wide (format)

  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December

Abbreviated (format)

  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sept
  • Oct
  • Nov
  • Dec
lowkey obsessed with the fact that this one commits to Sept with four whole letters while everyone else is doing three. main character energy πŸ“

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
  • Sept
  • Oct
  • Nov
  • Dec

Narrow (stand-alone)

  • J
  • F
  • M
  • A
  • M
  • J
  • J
  • A
  • S
  • O
  • N
  • D

⭐ Quarters

Four of them. Numbered. Gorgeous. No notes πŸ’…

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

Just the two, and honestly? Both legendary.

Wide (format)

  • Before Christ
  • Anno Domini

Abbreviated (format)

  • BC
  • AD

Narrow (format)

  • B
  • A

πŸ’œ Date Formats

Slash the vibes. Every format tier, tested against the same three timestamps so you can see exactly what changes πŸ”₯

heads up β€” that negative year -0010 is a real thing in the data, not a typo, so don't come for me πŸ™ˆ

Full

2008-02-05T18:30:30 = Tuesday, 5 February 2008
1995-12-22T09:05:02 = Friday, 22 December 1995
-0010-09-15T04:44:23 = Saturday, 15 September -10

Long

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

Medium

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

Clock check ⏰ same three timestamps, four tiers. Notice how Full and Long are doing the exact same thing here β€” that's not me being lazy, that's just the data saying what it says πŸ’€

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 AND time? Together?? We love a collab 🀝

Full

2008-02-05T18:30:30 = Tuesday, 5 February 2008, 18:30:30 UTC
1995-12-22T09:05:02 = Friday, 22 December 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = Saturday, 15 September -10, 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 February 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 December 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 September -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 Sept -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

Okay bestie this is the big one β€” every named format, with the pattern it's built from in parentheses, and all three example outputs. Grab a snack, 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 (E d)

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

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 = Sept -10 BC

GyMMMEd (E, d MMM y G)

2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Sat, 15 Sept -10 BC

GyMMMd (d MMM y G)

2008-02-05T18:30:30 = 5 Feb 2008 AD
1995-12-22T09:05:02 = 22 Dec 1995 AD
-0010-09-15T04:44:23 = 15 Sept -10 BC

GyMd (d/M/y G)

2008-02-05T18:30:30 = 5/2/2008 AD
1995-12-22T09:05:02 = 22/12/1995 AD
-0010-09-15T04:44:23 = 15/9/-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, dd/MM)

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

MMM (LLL)

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

MMMEd (E, d MMM)

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

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
yes, -count-one and -count-other output the exact same thing here. That's what the data says, I don't make the rules πŸ’€

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September

MMMd (d MMM)

2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept

MMdd (dd/MM)

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

Md (dd/MM)

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

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)

🌸 yM β€” MM/y

The year-and-month combo, month first. Very European of her.

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

πŸ¦‹ yMEd β€” E, dd/MM/y

Day name, then the full date with a zero-padded day. It's giving "calendar app header" energy.

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

✨ yMMM β€” MMM y

Short month name plus year. Snappy, no notes.

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

πŸŽ€ yMMMEd β€” E, d MMM y

Day name, day number, abbreviated month, year. The full little package πŸ’–

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

πŸ”₯ yMMMM β€” MMMM y

Now with the full month name, because we're not abbreviating anything today, bestie.

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

πŸ’œ yMMMd β€” d MMM y

Day first, month abbreviated, year last. Iconic ordering, honestly.

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

🌈 yMd β€” dd/MM/y

Pure numbers, day/month/year, everything zero-padded. No cap, this is the one your brain reads fastest.

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

πŸ‘‘ yQQQ β€” QQQ y

Quarter, abbreviated. Three letters, maximum main-character energy.

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

⭐ yQQQQ β€” QQQQ y

And the long-form quarter, spelled all the way out with the ordinal and everything. Ate.

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-of-year, singular form. Note that yes, both the -one and -other variants spit out the exact same strings here β€” that's not a typo, that's just how it is πŸ’…

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 pattern, same results, plural bucket. Twins fr fr.

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

A couple of quick vibe checks about this locale:

  • Prefers 24 hour time? β€” Yes. No AM/PM shenanigans here, we're doing the full 24-hour thing.
  • Local first day of the week β€” 1 (Monday). Week starts on Monday, so adjust your calendar grid accordingly 😭

πŸ’€ Strftime Patterns

The classic strftime-flavoured formats, with all their little quirks. Copy these exactly β€” spacing matters, bestie.

⏰ %c (%a %b %e %H:%M:%S %Y) β€” date time format

The big one. Day name, month, day, time, year.

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 Sept 15 04:44:23 -10
Note the double space in Tue Feb 5 β€” that's %e doing its thing, padding the day with a space. Do not "fix" it, it's load-bearing πŸ™ˆ

πŸ“… %x (%m/%d/%y) β€” date format

Month/day/year with a two-digit year. Very American of her.

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

Just the clock, 24-hour, colon-separated. Clean, minimal, slay.

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 the whole support section β€” she's lowkey mysterious like that πŸ’…


And that's a wrap on the en_IO locale page, bestie πŸŽ€ You made it through every last pattern, quarter name, and week count. This page shipped with perl v5.42.0, dated 2024-12-12 β€” go forth and format your dates correctly, no cap πŸ’–βœ¨

πŸ“¦ where this page comes from