DateTim...ale::trv(3)

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to DateTime::Locale::trv(3) β€” it's the user-contributed Perl documentation page for DateTime::Locale::trv, and it's literally the locale data examples manual for the Taroko (trv) locale. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

This pod file contains examples of the locale data available for the Taroko locale. no cap, it's basically a whole showcase of the locale data examples. ✨

🌸 Days 🌸

day names first, bestie. these are the exact values:

πŸ’« 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 🌈

month data, coming right up:

✨ 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

πŸ¦‹ Quarters πŸ¦‹

quarter vibes:

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

era data, periodt:

🌟 Wide (format) 🌟

BCE
CE

🌟 Abbreviated (format) 🌟

BCE
CE

🌟 Narrow (format) 🌟

BCE
CE

πŸŽ€ Date Formats πŸŽ€

okay so these are the date format examples, and yes, every single line matters:

πŸ’– 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

⏰ Time Formats ⏰

time format examples, bestie:

πŸ”₯ 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 + time together, iconic behavior:

⭐ 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

πŸ‘‘ Available Formats πŸ‘‘

okay this next part is the motherlode: every available format, with its pattern in parentheses and three sample renderings. do not skip a single one, bestie. πŸ’…

πŸ’… 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

πŸ“ 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
  • %x β€” this one's the "just give me the date, i don't need the whole story" option. Its format is %m/%d/%y. Showing the receipts:
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10

bestie look at that last one. the year is literally -0010 and it still ate πŸ’… negative years are not the vibe killer you thought they were.

  • %X β€” the time twin of %x, format is %H:%M:%S. receipts again:
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

so like, %x handles the date, %X handles the clock, and they're lowkey the duo of the century 🫢 24-hour time only, no AM/PM here, that's a whole different vibe.


🌈 SUPPORT 🌈

okay so if you want the actual support tea, go look at DateTime::Locale. that's it. that's the whole section. she's short, she's sweet, she's an icon πŸ‘‘


πŸŽ€ and that's a wrap on this page, bestie!! this little gem came to you from perl v5.42.0, dated 2024-12-12 β€” go forth and format your dates slayfully βœ¨πŸ’–πŸ¦‹ (also yes the page header is literally squished into DateTim...ale::trv(3) because the terminal did a little cropping moment. she's long, she's mysterious, she contains multitudes πŸ’€πŸŒΈ)
πŸ“¦ where this page comes from