DateTim...ale::tok(3)
π DateTim...ale::tok(3) π
okay bestie, we're looking at the User Contributed Perl Documentation page for DateTim...ale::tok(3). It's giving locale-data showcase for the Toki Pona (tok) locale, and there are So Many examples. Grab a boba π§ because we're going through every single one, no cap.
β¨ NAME β¨
DateTime::Locale::tok β Locale data examples for the Toki Pona (tok) locale
πΈ DESCRIPTION πΈ
Real talk: this pod file is literally the example vault for the locale data that's available for the Toki Pona locale. Nothing sneaky, just examples. π
π¦ Days π¦
first up, days of the week in every flavor. yes, every single one.
π Wide (format)
suno esun #1
suno esun #2
suno esun #3
suno esun #4
suno esun #5
suno esun #6
suno esun #7
π Abbreviated (format)
suno esun #1
suno esun #2
suno esun #3
suno esun #4
suno esun #5
suno esun #6
suno esun #7
π Narrow (format)
M
T
W
T
F
S
S
π Wide (stand-alone)
suno esun #1
suno esun #2
suno esun #3
suno esun #4
suno esun #5
suno esun #6
suno esun #7
π Abbreviated (stand-alone)
suno esun #1
suno esun #2
suno esun #3
suno esun #4
suno esun #5
suno esun #6
suno esun #7
π Narrow (stand-alone)
M
T
W
T
F
S
S
π Months π
months era. twelve of them, all lined up. iconic behavior honestly.
π Wide (format)
mun #1
mun #2
mun #3
mun #4
mun #5
mun #6
mun #7
mun #8
mun #9
mun #10
mun #11
mun #12
π Abbreviated (format)
mun #1
mun #2
mun #3
mun #4
mun #5
mun #6
mun #7
mun #8
mun #9
mun #10
mun #11
mun #12
π Narrow (format)
1
2
3
4
5
6
7
8
9
10
11
12
π Wide (stand-alone)
mun #1
mun #2
mun #3
mun #4
mun #5
mun #6
mun #7
mun #8
mun #9
mun #10
mun #11
mun #12
π Abbreviated (stand-alone)
mun #1
mun #2
mun #3
mun #4
mun #5
mun #6
mun #7
mun #8
mun #9
mun #10
mun #11
mun #12
π Narrow (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
π§ Quarters π§
quarters are simple and clean. Q1 through Q4, plus the narrow little numbers.
π 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 π₯
eras: BCE and CE, in wide, abbreviated, and narrow. short and sweet.
π Wide (format)
BCE
CE
π Abbreviated (format)
BCE
CE
π Narrow (format)
BCE
CE
π Date Formats π
date formats, from full to short. look at the negative-year examples, they're lowkey sending me π
π Full
2008-02-05T18:30:30 = 2008 mun #2 5, suno esun #2
1995-12-22T09:05:02 = 1995 mun #12 22, suno esun #5
-0010-09-15T04:44:23 = -10 mun #9 15, suno esun #6
π Long
2008-02-05T18:30:30 = 2008 mun #2 5
1995-12-22T09:05:02 = 1995 mun #12 22
-0010-09-15T04:44:23 = -10 mun #9 15
π Medium
2008-02-05T18:30:30 = 2008 mun #2 5
1995-12-22T09:05:02 = 1995 mun #12 22
-0010-09-15T04:44:23 = -10 mun #9 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 now. full and long have UTC, medium and short don't. details matter, 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 π«Ά
datetime formats = date + time, and yes, every example is here. full to short, no skips.
π Full
2008-02-05T18:30:30 = 2008 mun #2 5, suno esun #2 18:30:30 UTC
1995-12-22T09:05:02 = 1995 mun #12 22, suno esun #5 09:05:02 UTC
-0010-09-15T04:44:23 = -10 mun #9 15, suno esun #6 04:44:23 UTC
π Long
2008-02-05T18:30:30 = 2008 mun #2 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 mun #12 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 mun #9 15 04:44:23 UTC
π Medium
2008-02-05T18:30:30 = 2008 mun #2 5 18:30:30
1995-12-22T09:05:02 = 1995 mun #12 22 09:05:02
-0010-09-15T04:44:23 = -10 mun #9 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 is the mega-list. every format name, every pattern, every example, all here. do not scroll past this, it's literally the main character section π
π 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 = suno esun #2
1995-12-22T09:05:02 = suno esun #5
-0010-09-15T04:44:23 = suno esun #6
π EBhm (E h:mm B)
2008-02-05T18:30:30 = suno esun #2 6:30 B
1995-12-22T09:05:02 = suno esun #5 9:05 B
-0010-09-15T04:44:23 = suno esun #6 4:44 B
π EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = suno esun #2 6:30:30 B
1995-12-22T09:05:02 = suno esun #5 9:05:02 B
-0010-09-15T04:44:23 = suno esun #6 4:44:23 B
π EHm (E HH:mm)
2008-02-05T18:30:30 = suno esun #2 18:30
1995-12-22T09:05:02 = suno esun #5 09:05
-0010-09-15T04:44:23 = suno esun #6 04:44
π EHms (E HH:mm:ss)
2008-02-05T18:30:30 = suno esun #2 18:30:30
1995-12-22T09:05:02 = suno esun #5 09:05:02
-0010-09-15T04:44:23 = suno esun #6 04:44:23
π Ed (d, E)
2008-02-05T18:30:30 = 5, suno esun #2
1995-12-22T09:05:02 = 22, suno esun #5
-0010-09-15T04:44:23 = 15, suno esun #6
π Ehm (E h:mm a)
2008-02-05T18:30:30 = suno esun #2 6:30 PM
1995-12-22T09:05:02 = suno esun #5 9:05 AM
-0010-09-15T04:44:23 = suno esun #6 4:44 AM
π Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = suno esun #2 6:30:30 PM
1995-12-22T09:05:02 = suno esun #5 9:05:02 AM
-0010-09-15T04:44:23 = suno esun #6 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 mun #2
1995-12-22T09:05:02 = CE 1995 mun #12
-0010-09-15T04:44:23 = BCE -10 mun #9
π GyMMMEd (G y MMM d, E)
2008-02-05T18:30:30 = CE 2008 mun #2 5, suno esun #2
1995-12-22T09:05:02 = CE 1995 mun #12 22, suno esun #5
-0010-09-15T04:44:23 = BCE -10 mun #9 15, suno esun #6
π GyMMMd (G y MMM d)
2008-02-05T18:30:30 = CE 2008 mun #2 5
1995-12-22T09:05:02 = CE 1995 mun #12 22
-0010-09-15T04:44:23 = BCE -10 mun #9 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 'lon' v)
2008-02-05T18:30:30 = #18:30:30 lon UTC
1995-12-22T09:05:02 = #09:05:02 lon UTC
-0010-09-15T04:44:23 = #04:44:23 lon 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, suno esun #2
1995-12-22T09:05:02 = 12-22, suno esun #5
-0010-09-15T04:44:23 = 09-15, suno esun #6
π MMM (LLL)
2008-02-05T18:30:30 = mun #2
1995-12-22T09:05:02 = mun #12
-0010-09-15T04:44:23 = mun #9
π MMMEd (MMM d, E)
2008-02-05T18:30:30 = mun #2 5, suno esun #2
1995-12-22T09:05:02 = mun #12 22, suno esun #5
-0010-09-15T04:44:23 = mun #9 15, suno esun #6
π MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of mun #2
1995-12-22T09:05:02 = week 3 of mun #12
-0010-09-15T04:44:23 = week 2 of mun #9
π MMMMd (MMMM d)
2008-02-05T18:30:30 = mun #2 5
1995-12-22T09:05:02 = mun #12 22
-0010-09-15T04:44:23 = mun #9 15
π MMMd (MMM d)
2008-02-05T18:30:30 = mun #2 5
1995-12-22T09:05:02 = mun #12 22
-0010-09-15T04:44:23 = mun #9 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 'lon' v)
2008-02-05T18:30:30 = #6:30:30β―PM lon UTC
1995-12-22T09:05:02 = #9:05:02β―AM lon UTC
-0010-09-15T04:44:23 = #4:44:23β―AM lon 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, suno esun #2
1995-12-22T09:05:02 = 1995-12-22, suno esun #5
-0010-09-15T04:44:23 = -10-09-15, suno esun #6
π yMMM (y MMM)
2008-02-05T18:30:30 = 2008 mun #2
1995-12-22T09:05:02 = 1995 mun #12
-0010-09-15T04:44:23 = -10 mun #9
π yMMMEd (y MMM d, E)
2008-02-05T18:30:30 = 2008 mun #2 5, suno esun #2
1995-12-22T09:05:02 = 1995 mun #12 22, suno esun #5
-0010-09-15T04:44:23 = -10 mun #9 15, suno esun #6
π yMMMM (y MMMM)
2008-02-05T18:30:30 = 2008 mun #2
1995-12-22T09:05:02 = 1995 mun #12
-0010-09-15T04:44:23 = -10 mun #9
π yMMMd ('sike' #y ) #M ) #d)
β¦and the pattern parade keeps rolling, bestie π these exact example outputs are the whole moment, so here they are with zero details lost:
2008-02-05T18:30:30 = sike #2008 ) #2 ) #5
1995-12-22T09:05:02 = sike #1995 ) #12 ) #22
-0010-09-15T04:44:23 = sike #-10 ) #9 ) #15
Next up, yMd (#y)#M)#d) is giving chaotic-but-correct energy:
2008-02-05T18:30:30 = #2008)#2)#5
1995-12-22T09:05:02 = #1995)#12)#22
-0010-09-15T04:44:23 = #-10)#9)#15
Then yQQQ (y QQQ) pulls up with the quarter vibes:
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
And yQQQQ (y QQQQ) is literally the same energy, no cap:
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) is out here spelling the whole thing out πΈ
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 π
Okay so the miscellaneous bits are short and sweet, but they still count π
Prefers 24 hour time?
Yes
Local first day of the week
1 (suno esun #1)
π¦ Strftime Patterns π¦
Now for the strftime pattern examples, bestie β these are the classic format keys doing their thing β¨
%c (%a %b %e %H:%M:%S %Y) β date time format:
2008-02-05T18:30:30 = suno esun #2 mun #2 5 18:30:30 2008
1995-12-22T09:05:02 = suno esun #5 mun #12 22 09:05:02 1995
-0010-09-15T04:44:23 = suno esun #6 mun #9 15 04:44:23 -10
%x (%m/%d/%y) β date format:
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:
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 DateTime::Locale::tok(3) moment, bestie β served fresh from perl v5.42.0, dated 2024-12-12 π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms