DateTim...ale::lrc(3)

💖 NAME 💖

DateTime::Locale::lrc(3) is from the User Contributed Perl Documentation, and it's literally the locale data examples page for the Northern Luri (lrc) locale. The name line is:

DateTime::Locale::lrc - Locale data examples for the Northern Luri (lrc) locale


🦋 DESCRIPTION 🦋

okay so this pod file is a whole collection of examples of the locale data available for the Northern Luri locale. It's giving reference sheet, bestie — days, months, quarters, eras, date formats, time formats, datetime formats, and the full available-format list. No cap, it's iconic for checking how stuff actually renders. 💅

🌸 Days 🌸

First up, the day names. Here's every style, exactly as the locale data gives it.

✨ 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

🎀 Months 🎀

Months are next, and the wide/abbreviated format and stand-alone lists are matching here. Narrow is just the month numbers, which is lowkey handy. Slay.

🌸 Wide (format) 🌸

جانڤیە
فئڤریە
مارس
آڤریل
مئی
جوأن
جولا
آگوست
سئپتامر
ئوکتوڤر
نوڤامر
دئسامر

🌸 Abbreviated (format) 🌸

جانڤیە
فئڤریە
مارس
آڤریل
مئی
جوأن
جولا
آگوست
سئپتامر
ئوکتوڤر
نوڤامر
دئسامر

🌸 Narrow (format) 🌸

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

🌸 Wide (stand-alone) 🌸

جانڤیە
فئڤریە
مارس
آڤریل
مئی
جوأن
جولا
آگوست
سئپتامر
ئوکتوڤر
نوڤامر
دئسامر

🌸 Abbreviated (stand-alone) 🌸

جانڤیە
فئڤریە
مارس
آڤریل
مئی
جوأن
جولا
آگوست
سئپتامر
ئوکتوڤر
نوڤامر
دئسامر

🌸 Narrow (stand-alone) 🌸

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

🦋 Quarters 🦋

Quarters are giving mixed energy: format wide/abbreviated are Q1–Q4, narrow is 1–4, and stand-alone has the Luri names. The abbreviated stand-alone is slightly different — yes, first one is the full name, then Q2, Q3, Q4. Don't @ me, that's literally the data. 💀

💫 Wide (format) 💫

Q1
Q2
Q3
Q4

💫 Abbreviated (format) 💫

Q1
Q2
Q3
Q4

💫 Narrow (format) 💫

1
2
3
4

💫 Wide (stand-alone) 💫

چارأک أڤأل
چارأک دویوم
چارأک سئیوم
چارأک چاروم

💫 Abbreviated (stand-alone) 💫

چارأک أڤأل
Q2
Q3
Q4

💫 Narrow (stand-alone) 💫

1
2
3
4

🌈 Eras 🌈

Only three era styles here, bestie: wide, abbreviated, and narrow. All three are BCE / CE.

⭐ Wide (format) ⭐

BCE
CE

⭐ Abbreviated (format) ⭐

BCE
CE

⭐ Narrow (format) ⭐

BCE
CE

💜 Date Formats 💜

From full to short, here's how the date examples land. Same three sample datetimes throughout, so you can vibe-check the differences.

🎀 Full 🎀

2008-02-05T18:30:30 = 2008 فئڤریە 5, Tue
1995-12-22T09:05:02 = 1995 دئسامر 22, Fri
-0010-09-15T04:44:23 = -10 سئپتامر 15, Sat

🎀 Long 🎀

2008-02-05T18:30:30 = 2008 فئڤریە 5
1995-12-22T09:05:02 = 1995 دئسامر 22
-0010-09-15T04:44:23 = -10 سئپتامر 15

🎀 Medium 🎀

2008-02-05T18:30:30 = 2008 فئڤریە 5
1995-12-22T09:05:02 = 1995 دئسامر 22
-0010-09-15T04:44:23 = -10 سئپتامر 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

🫶 Time Formats 🫶

Time formats, same energy. Full and long include UTC, medium and short don't.

🦋 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 🌟

Now dates and times together. Full and long have UTC, medium and short do not.

💖 Full 💖

2008-02-05T18:30:30 = 2008 فئڤریە 5, Tue 18:30:30 UTC
1995-12-22T09:05:02 = 1995 دئسامر 22, Fri 09:05:02 UTC
-0010-09-15T04:44:23 = -10 سئپتامر 15, Sat 04:44:23 UTC

💖 Long 💖

2008-02-05T18:30:30 = 2008 فئڤریە 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 دئسامر 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 سئپتامر 15 04:44:23 UTC

💖 Medium 💖

2008-02-05T18:30:30 = 2008 فئڤریە 5 18:30:30
1995-12-22T09:05:02 = 1995 دئسامر 22 09:05:02
-0010-09-15T04:44:23 = -10 سئپتامر 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

🔥 Available Formats 🔥

This is the mega list, bestie. Each heading is the format key plus its pattern in parens, and the three lines are the exact examples. Do not skip a single one — there are a lot and they all matter. 👑

💅 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 فئڤریە
1995-12-22T09:05:02 = CE 1995 دئسامر
-0010-09-15T04:44:23 = BCE -10 سئپتامر

💅 GyMMMEd (G y MMM d, E) 💅

2008-02-05T18:30:30 = CE 2008 فئڤریە 5, Tue
1995-12-22T09:05:02 = CE 1995 دئسامر 22, Fri
-0010-09-15T04:44:23 = BCE -10 سئپتامر 15, Sat

💅 GyMMMd (G y MMM d) 💅

2008-02-05T18:30:30 = CE 2008 فئڤریە 5
1995-12-22T09:05:02 = CE 1995 دئسامر 22
-0010-09-15T04:44:23 = BCE -10 سئپتامر 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 = فئڤریە
1995-12-22T09:05:02 = دئسامر
-0010-09-15T04:44:23 = سئپتامر

💅 MMMEd (MMM d, E) 💅

2008-02-05T18:30:30 = فئڤریە 5, Tue
1995-12-22T09:05:02 = دئسامر 22, Fri
-0010-09-15T04:44:23 = سئپتامر 15, Sat

💅 MMMW-count-other ('week' W 'of' MMMM) 💅

2008-02-05T18:30:30 = week 1 of فئڤریە
1995-12-22T09:05:02 = week 3 of دئسامر
-0010-09-15T04:44:23 = week 2 of سئپتامر

💅 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 (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 فئڤریە
1995-12-22T09:05:02 = 1995 دئسامر
-0010-09-15T04:44:23 = -10 سئپتامر

💅 yMMMEd (y MMM d, E) 💅

2008-02-05T18:30:30 = 2008 فئڤریە 5, Tue
1995-12-22T09:05:02 = 1995 دئسامر 22, Fri
-0010-09-15T04:44:23 = -10 سئپتامر 15, Sat

💅 yMMMM (y MMMM) 💅

2008-02-05T18:30:30 = 2008 فئڤریە
1995-12-22T09:05:02 = 1995 دئسامر
-0010-09-15T04:44:23 = -10 سئپتامر

💅 yMMMd (y MMM d) 💅

2008-02-05T18:30:30 = 2008 فئڤریە 5
1995-12-22T09:05:02 = 1995 دئسامر 22
-0010-09-15T04:44:23 = -10 سئپتامر 15

yMd — pattern y-MM-dd, aka the "just gimme the date, no time, no clock, no nonsense" one 🗓️

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

Zero-padded month and day, and the negative year keeps its little minus sign — -10 ate and left no crumbs 💅

yQQQ — pattern y QQQ, quarter energy 🔥

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

yQQQQ — pattern y QQQQ, also quarter energy, just a longer pattern name:

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

and yeah — for this locale yQQQ and yQQQQ spit out the exact same strings in all three samples. iconic, no notes ✨

yw-count-other — pattern 'week' w 'of' Y, the week-of-the-year vibe check 📅

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

the words week and of are literally part of the pattern (that's what the single quotes are doing), so they show up verbatim in the output 🫶

🦋 Miscellaneous 🦋

  • Prefers 24 hour time? Yes — no am/pm shenanigans here, bestie 🙈
  • Local first day of the week: 1 (Mon) — Monday is the main character 👑

⏰ Strftime Patterns ⏰

The classic strftime trio, localized for this locale. Slay.

%c (%a %b %e %H:%M:%S %Y) — date time format, the full meal:

2008-02-05T18:30:30 = Tue فئڤریە  5 18:30:30 2008
1995-12-22T09:05:02 = Fri دئسامر 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat سئپتامر 15 04:44:23 -10

yes the month names are in Persian script — فئڤریە, دئسامر, سئپتامر — and that's literally the locale data, so copy it exactly if you're writing tests, fr fr 😭

%x (%m/%d/%y) — date format, the short king:

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, clock only:

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, go read it bestie 💜


and that's the page!! 🎀 this little gem is DateTim...ale::lrc(3) from the perl v5.42.0 docs, dated 2024-12-12 — screenshot it, bookmark it, tell your friends, it's giving documentation but make it cute ⭐

📦 where this page comes from