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 on 09 and 04 β€” that's the HH doing 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 is suno 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