DateTim...:tok_001(3)
β¨ NAME β¨
okay so bestie, this page is DateTim...:tok_001(3) β and yes, that's its real name, it's got that "my parents let me pick my own username" energy. It's filed under User Contributed Perl Documentation, which is exactly the shelf where a gem like this belongs. π
DateTime::Locale::tok_001 β Locale data examples for the Toki Pona world (tok-001) locale
π¦ DESCRIPTION π¦
This pod file contains examples of the locale data available for the Toki Pona world locale.
Like, that's it. That's the whole brief. It's a lookbook, not a tutorial β every string you could ever get out of this locale, shown off like it's on a runway. Let's go. β¨
πΈ Days πΈ
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
Obsessed with the narrow forms just being single letters β it's giving "we had exactly one character of budget left and we spent it." π
π Months π
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
Lowkey the most consistent locale ever β every month is literally mun # plus a number, no notes, no cap. π
π Quarters π
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 π
Wide (format)
BCE
CE
Abbreviated (format)
BCE
CE
Narrow (format)
BCE
CE
heads up bestie: eras only ship format versions here β there's no stand-alone block, so don't go looking for one, she's not coming π
β Date Formats β
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
Not Long and Medium being literal twins π― β that's not a typo on my end, that's just how she is.
π Time Formats π
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
Full and Long are also twinning here (only Medium and Short drop the UTC) β iconic behaviour, no notes. β¨
π Datetime Formats π
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 big one, the main character section β every named format this locale can hand you, with its pattern and its three example renders. Buckle up. π«Ά
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
notice the zero padding on09and04β that's theHHdoing its thing, don't @ me π§
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 list literally keeps going, so this is exactly where this part cuts off β the rest of the formats are waiting for you in part 2, bestie π
β¦and here's the tail end of that pattern's examples, the one with the literal sike hanging out in it π
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
yMd (#y)#M)#d)
Year, month, day β but make it a look, bestie. Slashes where the #s were:
2008-02-05T18:30:30 = #2008)#2)#5
1995-12-22T09:05:02 = #1995)#12)#22
-0010-09-15T04:44:23 = #-10)#9)#15
yQQQ (y QQQ)
Quarter energy π short form:
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
yQQQQ (y QQQQ)
Quarter energy, long form β and yes, it literally gives you the same output as yQQQ above. No cap, that's just how it is π«Ά
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)
Week number, spelled out all cute with the year attached. Iconic little sentence format tbh:
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 π
Some general vibe-check settings for this locale, and here's what they're set to:
- Prefers 24 hour time? β Yes β¨ (no AM/PM chaos here, we're clock-pilled)
- Local first day of the week β
1(which in this locale's own words issuno esun #1)
π Strftime Patterns π
Okay so these are the big three classic strftime-style patterns β the shorthand girlies of date formatting. Here's what each one expands to in this locale:
%c (%a %b %e %H:%M:%S %Y) β date time format
The full combo meal π date and time, all in one:
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
Just the date, slashed and snatched π:
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 time, clock-only, main character energy β°:
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 π«Ά
Wanna go deeper on locales? See DateTime::Locale. That's the whole support section, bestie β it just points you there, and honestly? Valid.
That's the page, fr fr π Go format something gorgeous.
Mwah π β this little masterpiece is perl v5.42.0, dated 2024-12-12, straight from the DateTim...:tok_001(3) section of the User Contributed Perl Documentation. Slay, now go touch some timestamps β¨
π¦ 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