DateTim...e::en_PR(3)

πŸ’… NAME πŸ’…

DateTime::Locale::en_PR β€” locale data examples for the English Puerto Rico (en-PR) locale, bestie. It's the DateTime::Locale::en_PR manual page, and we're gonna go through everything together, no skips.


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this pod file is literally just a big ol' showcase of the locale data that's available for the English Puerto Rico locale. Every list, every format, every example string β€” it's all here for you to peek at. Let's go πŸ’–

🌈 Days

✨ 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

✨ 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

✨ 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

✨ Wide (format)

Before Christ
Anno Domini

✨ Abbreviated (format)

BC
AD

✨ Narrow (format)

B
A

πŸ”₯ Date Formats πŸ”₯

Not me being obsessed with how these all pan out. Three sample timestamps, every time, so you can see the vibe change πŸ‘‘

πŸ’œ 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
Yeah, that last one really is 9/15/-10 with a negative year in there. Iconic and slightly cursed, periodt.

⏰ Time Formats ⏰

πŸ’œ 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
Yup, Full and Long are giving the exact same energy here. That's not a typo on my end, that's just how it is πŸ’€

🌟 Datetime Formats 🌟

Date + time, holding hands, slaying together 🫢

πŸ’œ 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. Grab a snack πŸ“. Every named pattern, with the format string in parentheses, and the three sample renderings below it. No skipping, I promised.

πŸ’œ 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)

<!-- and the list keeps going β€” see part 2, bestie πŸ’– -->

…and the pattern we were on wraps up with these three bestie examples:

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

(note the 9/-10 at the end β€” that's not a typo, that's just how it do πŸ’…)

  • yMEd (E, M/d/y) β€” weekday name first, then month/day/year, slashes all the way πŸŽ€
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 name plus the year, cute and compact ✨
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 full little sentence: weekday, short month, day, year 🌸
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) β€” short month said all the way out, plus year, very main character πŸ‘‘
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) β€” short month, day, year. the everyday icon πŸ’–
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 all-numbers slashed date, no thoughts just vibes πŸ”₯
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, abbreviated to Q plus the number, then year πŸ¦‹
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
  • yQQQQ (QQQQ y) β€” the full-on spelled-out quarter with an ordinal, periodt ⭐
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) β€” literal words week and of, week number, year 🧚
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 shape, other count variant πŸŽ€
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? β€” No πŸ™ˆ
  • Local first day of the week β€” 7 (Sunday) 🌈

⏰ Strftime Patterns πŸ’«

Okay so these are the <red>strftime</red>-flavoured ones, lowercase letters, very old-school and honestly iconic for it.

  • %c (%a %b %e %H:%M:%S %Y) β€” date and time together, the whole package 🫢
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 there are two spaces before that 5 β€” <hotpink>do not touch` πŸ’…)

  • %x (%m/%d/%y) β€” just the date, zero-padded, two-digit year 😌
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) β€” just the time, 24-hour clock, 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

🫢 SUPPORT 🫢

Need backup? See DateTime::Locale. That's the whole support section, bestie β€” she keeps it short πŸ’–


And that's a wrap on the DateTim...e::en_PR(3) page, babes! πŸŽ€ This gem is the perl v5.42.0 docs, dated 2024-12-12, and it was a whole serve. Go format some dates. Slay. πŸ’…βœ¨

πŸ“¦ where this page comes from