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