DateTim...ale::to(3)
🎀 NAME 🎀
okay bestie, this is a User Contributed Perl Documentation page for DateTime::Locale::to(3).
DateTime::Locale::to — Locale data examples for the Tongan (to) locale. 💖
🦋 DESCRIPTION 🦋
This pod file contains examples of the locale data available for the Tongan locale. It’s literally a little show-and-tell of the locale data, and it ate. ✨
🌸 Days 🌸
Days are giving main character energy. Here’s every flavor, exactly as listed.
💅 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 said “we’re iconic” and honestly? They’re right.
🌸 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 vibes, coming right up. 🫶
✨ 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 🦋
Eras are lowkey simple here, no cap.
💜 Wide (format) 💜
ki muʻa
taʻu ʻo Sīsū
💜 Abbreviated (format) 💜
KM
TS
💜 Narrow (format) 💜
KM
TS
📅 Date Formats 📅
Date formats, bestie — here’s the whole little lineup with all the example timestamps. 💅
⭐ 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 formats said “let’s keep it cute” and then gave us all the exact examples.
🌈 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 🦋
Datetime formats = date plus time, obviously, and these examples are matching the same three timestamps the whole way through. Periodt. 💖
🎀 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 bestie, this is the big list of available formats — every single one, with its exact example lines. Keep scrolling, it’s worth it. 💜
🌟 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) 🌟
...and the pattern keeps doing its thing with the same three test timestamps we've been using all along:
2008-02-05T18:30:30 = 5/2/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/9/-10
that last one is sending me tho — a negative year just chilling in there like it pays rent 💀 but yeah, day/month/year, slashes, done.
yQQQ (QQQ y)
short-form quarter + year. the quarter shows up as a single letter + digit, no cap:
2008-02-05T18:30:30 = K1 2008
1995-12-22T09:05:02 = K4 1995
-0010-09-15T04:44:23 = K3 -10
K1, K4, K3 — cute, compact, iconic. 🎀
yQQQQ (QQQQ y)
the long quarter. instead of the little K code you get the whole spelled-out word situation:
2008-02-05T18:30:30 = kuata ʻuluaki 2008
1995-12-22T09:05:02 = kuata fā 1995
-0010-09-15T04:44:23 = kuata tolu -10
same three dates, same years, just ✨ verbose ✨ — and yes those are macrons and ʻokinas, they're part of the language, don't you dare strip them 🙈
yw-count-other ('uike' 'hono' w ʻ'o' Y)
week-of-year counting, spelled out with actual words wrapped around the numbers:
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
bestie the numbers just slot into the sentence and it works — 6, 51, 37, all nestled between the words like they were always meant to be there 🫶
Miscellaneous 🎀
two quick vibe-check settings, and they're honestly so simple:
- Prefers 24 hour time? — No. (nope, 12-hour gang over here 🕐)
- Local first day of the week —
1(Mōnite)
so the week starts on Monday around these parts. periodt. 💅
Strftime Patterns ✨
these are the big three strftime conversions, and they're here with their pattern expansions spelled out in parentheses. slay.
%c (%a %b %e %H:%M:%S %Y) — date time format
the whole date-and-time situation in one go:
2008-02-05T18:30:30 = Tūs Fēp 5 18:30:30 2008
1995-12-22T09:05:02 = Fal Tīs 22 09:05:02 1995
-0010-09-15T04:44:23 = Tok Sēp 15 04:44:23 -10
okay and notice the day-of-month is space-padded (%e) — that's why there's that double space between Fēp and 5 in the first line. do not "fix" it, it's correct, it's giving aligned-columns realness 😭
%x (%m/%d/%y) — date format
date only, month first, two-digit year:
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
yep, 09/15/10 for that negative year — the y is just the last two digits doing their thing, no notes 🔥
%X (%H:%M:%S) — time format
and time only, 24-hour clock, zero-padded, gorgeous:
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
three timestamps, three exact matches, zero surprises. we love a consistent queen 👑
SUPPORT 👑
See DateTime::Locale.
that's it. that's the support section. go read the parent module if you want the full lore, iykyk 📚
okay bestie that's the whole page, you made it to the end, I'm so proud of you 🥹 this lil document came from perl v5.42.0, dated 2024-12-12 — go forth and format your Tongan dates correctly, no cap, mwah 💜✨
📦 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