DateTim...e::to_TO(3)

🎀 DateTime::Locale::to_TO(3) 🎀

✨ NAME ✨

DateTime::Locale::to_TO — locale data examples for the Tongan Tonga (to-TO) locale. That's the whole name, bestie, no cap. 💅


🌸 DESCRIPTION 🌸

Okay so this pod file is literally a whole showcase of the locale data examples available for the Tongan Tonga locale. It's giving reference material, and we are obsessed. ✨


💖 Days 💖

These are the days, and yes we have both format and stand-alone flavors. Keep them straight, bestie. 🫶

🌟 Wide (format) 🌟

Mōnite
Tūsite
Pulelulu
Tuʻapulelulu
Falaite
Tokonaki
Sāpate

🌟 Abbreviated (format) 🌟

Mōn
Tūs
Pul
Tuʻa
Fal
Tok
Sāp

🌟 Narrow (format) 🌟

M
T
P
T
F
T
S

🌟 Wide (stand-alone) 🌟

Mōnite
Tūsite
Pulelulu
Tuʻapulelulu
Falaite
Tokonaki
Sāpate

🌟 Abbreviated (stand-alone) 🌟

Mōn
Tūs
Pul
Tuʻa
Fal
Tok
Sāp

🌟 Narrow (stand-alone) 🌟

M
T
P
T
F
T
S

🌈 Months 🌈

Months, months, months — full names, abbreviations, narrow ones, and both format/stand-alone versions. Iconic, honestly. 🎀

🌸 Wide (format) 🌸

Sānuali
Fēpueli
Maʻasi
ʻEpeleli
Mē
Sune
Siulai
ʻAokosi
Sēpitema
ʻOkatopa
Nōvema
Tīsema

🌸 Abbreviated (format) 🌸

Sān
Fēp
Maʻa
ʻEpe
Mē
Sun
Siu
ʻAok
Sēp
ʻOka
Nōv
Tīs

🌸 Narrow (format) 🌸

S
F
M
ʻE
M
S
S
ʻA
S
ʻO
N
T

🌸 Wide (stand-alone) 🌸

Sānuali
Fēpueli
Maʻasi
ʻEpeleli
Mē
Sune
Siulai
ʻAokosi
Sepitema
ʻOkatopa
Nōvema
Tīsema

🌸 Abbreviated (stand-alone) 🌸

Sān
Fēp
Maʻa
ʻEpe
Mē
Sun
Siu
ʻAok
Sēp
ʻOka
Nōv
Tīs

🌸 Narrow (stand-alone) 🌸

S
F
M
ʻE
M
S
S
ʻA
S
ʻO
N
T

🦋 Quarters 🦋

Quarter names in all their format and stand-alone eras. Yes, we have range. 💅

⭐ Wide (format) ⭐

kuata ʻuluaki
kuata ua
kuata tolu
kuata fā

⭐ Abbreviated (format) ⭐

K1
K2
K3
K4

⭐ Narrow (format) ⭐

1
2
3
4

⭐ Wide (stand-alone) ⭐

kuata 1
kuata 2
kuata 3
kuata 4

⭐ Abbreviated (stand-alone) ⭐

K1
K2
K3
K4

⭐ Narrow (stand-alone) ⭐

1
2
3
4

🔥 Eras 🔥

Era names — wide, abbreviated, narrow. Short and sweet, but every bit matters. ✨

🌟 Wide (format) 🌟

ki muʻa
taʻu ʻo Sīsū

🌟 Abbreviated (format) 🌟

KM
TS

🌟 Narrow (format) 🌟

KM
TS

📅 Date Formats 📅

Bestie, here's the date format glow-up in Full, Long, Medium, and Short. Every example is right here. 🫶

💖 Full 💖

2008-02-05T18:30:30 = Tūsite 5 Fēpueli 2008
1995-12-22T09:05:02 = Falaite 22 Tīsema 1995
-0010-09-15T04:44:23 = Tokonaki 15 Sēpitema -10

💖 Long 💖

2008-02-05T18:30:30 = 5 Fēpueli 2008
1995-12-22T09:05:02 = 22 Tīsema 1995
-0010-09-15T04:44:23 = 15 Sēpitema -10

💖 Medium 💖

2008-02-05T18:30:30 = 5 Fēp 2008
1995-12-22T09:05:02 = 22 Tīs 1995
-0010-09-15T04:44:23 = 15 Sēp -10

💖 Short 💖

2008-02-05T18:30:30 = 5/2/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/9/-10

⏰ Time Formats ⏰

Time format energy: Full, Long, Medium, Short. All the examples, all the little details. 🎀

🕰️ Full 🕰️

2008-02-05T18:30:30 = 6:30:30 EA UTC
1995-12-22T09:05:02 = 9:05:02 HH UTC
-0010-09-15T04:44:23 = 4:44:23 HH UTC

🕰️ Long 🕰️

2008-02-05T18:30:30 = 6:30:30 EA UTC
1995-12-22T09:05:02 = 9:05:02 HH UTC
-0010-09-15T04:44:23 = 4:44:23 HH UTC

🕰️ Medium 🕰️

2008-02-05T18:30:30 = 6:30:30 EA
1995-12-22T09:05:02 = 9:05:02 HH
-0010-09-15T04:44:23 = 4:44:23 HH

🕰️ Short 🕰️

2008-02-05T18:30:30 = 6:30 EA
1995-12-22T09:05:02 = 9:05 HH
-0010-09-15T04:44:23 = 4:44 HH

💫 Datetime Formats 💫

Date plus time, together at last. Full, Long, Medium, Short — and yes, every example is staying. 🔥

🌙 Full 🌙

2008-02-05T18:30:30 = Tūsite 5 Fēpueli 2008, 6:30:30 EA UTC
1995-12-22T09:05:02 = Falaite 22 Tīsema 1995, 9:05:02 HH UTC
-0010-09-15T04:44:23 = Tokonaki 15 Sēpitema -10, 4:44:23 HH UTC

🌙 Long 🌙

2008-02-05T18:30:30 = 5 Fēpueli 2008, 6:30:30 EA UTC
1995-12-22T09:05:02 = 22 Tīsema 1995, 9:05:02 HH UTC
-0010-09-15T04:44:23 = 15 Sēpitema -10, 4:44:23 HH UTC

🌙 Medium 🌙

2008-02-05T18:30:30 = 5 Fēp 2008, 6:30:30 EA
1995-12-22T09:05:02 = 22 Tīs 1995, 9:05:02 HH
-0010-09-15T04:44:23 = 15 Sēp -10, 4:44:23 HH

🌙 Short 🌙

2008-02-05T18:30:30 = 5/2/08 6:30 EA
1995-12-22T09:05:02 = 22/12/95 9:05 HH
-0010-09-15T04:44:23 = 15/9/-10 4:44 HH

👑 Available Formats 👑

Okay this is the big one — every available format, with its pattern in parentheses and the example timestamps. Do not skip, 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 = Tūs
1995-12-22T09:05:02 = Fal
-0010-09-15T04:44:23 = Tok

✨ EBhm (E h:mm B) ✨

2008-02-05T18:30:30 = Tūs 6:30 B
1995-12-22T09:05:02 = Fal 9:05 B
-0010-09-15T04:44:23 = Tok 4:44 B

✨ EBhms (E h:mm:ss B) ✨

2008-02-05T18:30:30 = Tūs 6:30:30 B
1995-12-22T09:05:02 = Fal 9:05:02 B
-0010-09-15T04:44:23 = Tok 4:44:23 B

✨ EHm (E HH:mm) ✨

2008-02-05T18:30:30 = Tūs 18:30
1995-12-22T09:05:02 = Fal 09:05
-0010-09-15T04:44:23 = Tok 04:44

✨ EHms (E HH:mm:ss) ✨

2008-02-05T18:30:30 = Tūs 18:30:30
1995-12-22T09:05:02 = Fal 09:05:02
-0010-09-15T04:44:23 = Tok 04:44:23

✨ Ed (E d) ✨

2008-02-05T18:30:30 = Tūs 5
1995-12-22T09:05:02 = Fal 22
-0010-09-15T04:44:23 = Tok 15

✨ Ehm (E h:mm a) ✨

2008-02-05T18:30:30 = Tūs 6:30 EA
1995-12-22T09:05:02 = Fal 9:05 HH
-0010-09-15T04:44:23 = Tok 4:44 HH

✨ Ehms (E h:mm:ss a) ✨

2008-02-05T18:30:30 = Tūs 6:30:30 EA
1995-12-22T09:05:02 = Fal 9:05:02 HH
-0010-09-15T04:44:23 = Tok 4:44:23 HH

✨ Gy (y G) ✨

2008-02-05T18:30:30 = 2008 TS
1995-12-22T09:05:02 = 1995 TS
-0010-09-15T04:44:23 = -10 KM

✨ GyMMM (MMM y G) ✨

2008-02-05T18:30:30 = Fēp 2008 TS
1995-12-22T09:05:02 = Tīs 1995 TS
-0010-09-15T04:44:23 = Sēp -10 KM

✨ GyMMMEd (E d MMM y G) ✨

2008-02-05T18:30:30 = Tūs 5 Fēp 2008 TS
1995-12-22T09:05:02 = Fal 22 Tīs 1995 TS
-0010-09-15T04:44:23 = Tok 15 Sēp -10 KM

✨ GyMMMd (d MMM y G) ✨

2008-02-05T18:30:30 = 5 Fēp 2008 TS
1995-12-22T09:05:02 = 22 Tīs 1995 TS
-0010-09-15T04:44:23 = 15 Sēp -10 KM

✨ GyMd (dd MM y GGGGG) ✨

2008-02-05T18:30:30 = 05 02 2008 TS
1995-12-22T09:05:02 = 22 12 1995 TS
-0010-09-15T04:44:23 = 15 09 -10 KM

✨ 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 (E d/M) ✨

2008-02-05T18:30:30 = Tūs 5/2
1995-12-22T09:05:02 = Fal 22/12
-0010-09-15T04:44:23 = Tok 15/9

✨ MMM (LLL) ✨

2008-02-05T18:30:30 = Fēp
1995-12-22T09:05:02 = Tīs
-0010-09-15T04:44:23 = Sēp

✨ MMMEd (E d MMM) ✨

2008-02-05T18:30:30 = Tūs 5 Fēp
1995-12-22T09:05:02 = Fal 22 Tīs
-0010-09-15T04:44:23 = Tok 15 Sēp

✨ MMMMEd (E d MMMM) ✨

2008-02-05T18:30:30 = Tūs 5 Fēpueli
1995-12-22T09:05:02 = Fal 22 Tīsema
-0010-09-15T04:44:23 = Tok 15 Sēpitema

✨ MMMMW-count-other ('uike' 'hono' W ʻ'o' MMMM) ✨

2008-02-05T18:30:30 = uike hono 1 ʻo Fēpueli
1995-12-22T09:05:02 = uike hono 3 ʻo Tīsema
-0010-09-15T04:44:23 = uike hono 2 ʻo Sēpitema

✨ MMMMd (d MMMM) ✨

2008-02-05T18:30:30 = 5 Fēpueli
1995-12-22T09:05:02 = 22 Tīsema
-0010-09-15T04:44:23 = 15 Sēpitema

✨ MMMd (d MMM) ✨

2008-02-05T18:30:30 = 5 Fēp
1995-12-22T09:05:02 = 22 Tīs
-0010-09-15T04:44:23 = 15 Sēp

✨ Md (d/M) ✨

2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9

✨ 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 EA
1995-12-22T09:05:02 = 9 HH
-0010-09-15T04:44:23 = 4 HH

✨ hm (h:mm a) ✨

2008-02-05T18:30:30 = 6:30 EA
1995-12-22T09:05:02 = 9:05 HH
-0010-09-15T04:44:23 = 4:44 HH

✨ hms (h:mm:ss a) ✨

2008-02-05T18:30:30 = 6:30:30 EA
1995-12-22T09:05:02 = 9:05:02 HH
-0010-09-15T04:44:23 = 4:44:23 HH

✨ hmsv (h:mm:ss a v) ✨

2008-02-05T18:30:30 = 6:30:30 EA UTC
1995-12-22T09:05:02 = 9:05:02 HH UTC
-0010-09-15T04:44:23 = 4:44:23 HH UTC

✨ hmv (h:mm a v) ✨

2008-02-05T18:30:30 = 6:30 EA UTC
1995-12-22T09:05:02 = 9:05 HH UTC
-0010-09-15T04:44:23 = 4:44 HH 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 (M/y) ✨

2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10

✨ yMEd (E d/M/y) ✨

2008-02-05T18:30:30 = Tūs 5/2/2008
1995-12-22T09:05:02 = Fal 22/12/1995
-0010-09-15T04:44:23 = Tok 15/9/-10

✨ yMM (MM-y) ✨

2008-02-05T18:30:30 = 02-2008
1995-12-22T09:05:02 = 12-1995
-0010-09-15T04:44:23 = 09--10

✨ yMMM (MMM y) ✨

2008-02-05T18:30:30 = Fēp 2008
1995-12-22T09:05:02 = Tīs 1995
-0010-09-15T04:44:23 = Sēp -10

✨ yMMMEd (E d MMM y) ✨

2008-02-05T18:30:30 = Tūs 5 Fēp 2008
1995-12-22T09:05:02 = Fal 22 Tīs 1995
-0010-09-15T04:44:23 = Tok 15 Sēp -10

✨ yMMMM (MMMM y) ✨

2008-02-05T18:30:30 = Fēpueli 2008
1995-12-22T09:05:02 = Tīsema 1995
-0010-09-15T04:44:23 = Sēpitema -10

✨ yMMMd (d MMM y) ✨

2008-02-05T18:30:30 = 5 Fēp 2008
1995-12-22T09:05:02 = 22 Tīs 1995
-0010-09-15T04:44:23 = 15 Sēp -10

✨ yMd (d/M/y) ✨

  • yQQQ — the short quarter flex, formatted as QQQ y 💅
      2008-02-05T18:30:30 = K1 2008
      1995-12-22T09:05:02 = K4 1995
     -0010-09-15T04:44:23 = K3 -10
  • yQQQQ — the full-sentence quarter, QQQQ y, no abbreviating bestie ✨
      2008-02-05T18:30:30 = kuata ʻuluaki 2008
      1995-12-22T09:05:02 = kuata fā 1995
     -0010-09-15T04:44:23 = kuata tolu -10
  • yw-count-other — week-of-year but make it a whole sentence, formatted as 'uike' 'hono' w ʻ'o' Y 🗓️
      2008-02-05T18:30:30 = uike hono 6 ʻo 2008
      1995-12-22T09:05:02 = uike hono 51 ʻo 1995
     -0010-09-15T04:44:23 = uike hono 37 ʻo -10

🎀 Miscellaneous

Little settings check, the vibe check of the locale iykyk:

  • Prefers 24 hour time? No 🌙 (she's a 12-hour girlie)
  • Local first day of the week: 1 (Mōnite) — Monday is the main character 👑

🦋 Strftime Patterns

Okay this is the part where the old-school strftime crew gets their flowers 🌸 — three classic patterns, all translated into the Tongan vibe:

  • %c (%A %d %b %Y %I:%M:%S %p) — the date and time format, the full fit 🔥
      2008-02-05T18:30:30 = Tūsite 05 Fēp 2008 06:30:30 EA
      1995-12-22T09:05:02 = Falaite 22 Tīs 1995 09:05:02 HH
     -0010-09-15T04:44:23 = Tokonaki 15 Sēp -10 04:44:23 HH
  • %x (%A %d %b %Y) — just the date format, serving lewk only 💖
      2008-02-05T18:30:30 = Tūsite 05 Fēp 2008
      1995-12-22T09:05:02 = Falaite 22 Tīs 1995
     -0010-09-15T04:44:23 = Tokonaki 15 Sēp -10
  • %X (%I:%M:%S %p %Z) — time only, and yes the %Z is bringing UTC along 🕐
      2008-02-05T18:30:30 = 06:30:30 EA UTC
      1995-12-22T09:05:02 = 09:05:02 HH UTC
     -0010-09-15T04:44:23 = 04:44:23 HH UTC
Not me pointing out that -0010 is a negative year and the locale is just casually formatting it like it's nothing 💀 iconic behaviour honestly.

👑 SUPPORT

See DateTime::Locale. That's it, that's the whole support section, she's low-maintenance 🫶


and that's the whole page bestie!! 🎀✨ this little masterpiece is perl v5.42.0, dated 2024-12-12 — go forth and format your Tongan dates correctly, no cap 💜🦋

📦 where this page comes from