DateTim...ale::si(3)
🌸 NAME 🌸
This is the manual page for DateTime::Locale::si, bestie — it's the Sinhala (si) locale, fresh out of the User Contributed Perl Documentation section (section 3, if you're keeping score 💅). So like, DateTim...ale::si(3) in the header, but the actual name is DateTime::Locale::si. Iconic, we love a truncated title. 🎀
✨ DESCRIPTION ✨
Okay so this pod file is literally just examples — a whole showcase of the locale data you can get for the Sinhala locale. Think of it as the lookbook, not the engine. 👑
🦋 Days 🦋
Wide (format)
සඳදා
අඟහරවාදා
බදාදා
බරහසපතනදා
සකරාදා
සෙනසරාදා
ඉරදා
Abbreviated (format)
සඳදා
අඟහ
බදාදා
බරහස්
සකු
සෙන
ඉරදා
Narrow (format)
ස
අ
බ
බර
සි
සෙ
ඉ
Wide (stand-alone)
සඳදා
අඟහරවාදා
බදාදා
බරහසපතනදා
සකරාදා
සෙනසරාදා
ඉරදා
Abbreviated (stand-alone)
සඳදා
අඟහ
බදාදා
බරහස්
සකු
සෙන
ඉරදා
Narrow (stand-alone)
ස
අ
බ
බර
සි
සෙ
ඉ
🌈 Months 🌈
Wide (format)
ජනවාරි
පෙබරවාරි
මාරතු
අපරේල්
මැයි
ජනි
ජලි
අගෝසතු
සැපතැමබර්
ඔකතෝබර්
නොවැමබර්
දෙසැමබර්
Abbreviated (format)
ජන
පෙබ
මාරතු
අපරේල්
මැයි
ජනි
ජලි
අගෝ
සැප්
ඔක්
නොවැ
දෙසැ
Narrow (format)
ජ
පෙ
මා
අ
මැ
ජූ
ජූ
අ
සැ
ඔ
නෙ
දෙ
Wide (stand-alone)
ජනවාරි
පෙබරවාරි
මාරතු
අපරේල්
මැයි
ජනි
ජලි
අගෝසතු
සැපතැමබර්
ඔකතෝබර්
නොවැමබර්
දෙසැමබර්
Abbreviated (stand-alone)
ජන
පෙබ
මාර්
අපරේල්
මැයි
ජනි
ජලි
අගෝ
සැප්
ඔක්
නොවැ
දෙසැ
Not me double-checking — yes, the stand-alone abbreviated list genuinely saysමාර්where the format list saysමාරතු. Both are in there, don't @ me, I'm just the messenger. 💀
Narrow (stand-alone)
ජ
පෙ
මා
අ
මැ
ජූ
ජූ
අ
සැ
ඔ
නෙ
දෙ
🫶 Quarters 🫶
Wide (format)
1 වන කාරතව
2 වන කාරතව
3 වන කාරතව
4 වන කාරතව
Abbreviated (format)
කාර:1
කාර:2
කාර:3
කාර:4
Narrow (format)
1
2
3
4
Wide (stand-alone)
1 වන කාරතව
2 වන කාරතව
3 වන කාරතව
4 වන කාරතව
Abbreviated (stand-alone)
කාර:1
කාර:2
කාර:3
කාර:4
Narrow (stand-alone)
1
2
3
4
⭐ Eras ⭐
Wide (format)
කරසතු පරව
කරසතු වරෂ
Abbreviated (format)
කර.ප.
කර.ව.
Narrow (format)
කර.ප.
කර.ව.
💖 Date Formats 💖
Full
2008-02-05T18:30:30 = 2008 පෙබරවාරි 5, අඟහරවාදා
1995-12-22T09:05:02 = 1995 දෙසැමබර් 22, සකරාදා
-0010-09-15T04:44:23 = -10 සැපතැමබර් 15, සෙනසරාදා
Long
2008-02-05T18:30:30 = 2008 පෙබරවාරි 5
1995-12-22T09:05:02 = 1995 දෙසැමබර් 22
-0010-09-15T04:44:23 = -10 සැපතැමබර් 15
Medium
2008-02-05T18:30:30 = 2008 පෙබ 5
1995-12-22T09:05:02 = 1995 දෙසැ 22
-0010-09-15T04:44:23 = -10 සැප් 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 🧚
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 💜
Full
2008-02-05T18:30:30 = 2008 පෙබරවාරි 5, අඟහරවාදා 18.30.30 UTC
1995-12-22T09:05:02 = 1995 දෙසැමබර් 22, සකරාදා 09.05.02 UTC
-0010-09-15T04:44:23 = -10 සැපතැමබර් 15, සෙනසරාදා 04.44.23 UTC
Long
2008-02-05T18:30:30 = 2008 පෙබරවාරි 5 18.30.30 UTC
1995-12-22T09:05:02 = 1995 දෙසැමබර් 22 09.05.02 UTC
-0010-09-15T04:44:23 = -10 සැපතැමබර් 15 04.44.23 UTC
Medium
2008-02-05T18:30:30 = 2008 පෙබ 5 18.30.30
1995-12-22T09:05:02 = 1995 දෙසැ 22 09.05.02
-0010-09-15T04:44:23 = -10 සැප් 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 bestie, this is the big one — every named format, with its pattern in parentheses, and the same three test timestamps (2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23) run through each. The way it just keeps going… obsessed. ✨
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 = අඟහ
1995-12-22T09:05:02 = සකු
-0010-09-15T04:44:23 = සෙන
EBhm (E 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
EBhms (E 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
EHm (E HH.mm)
2008-02-05T18:30:30 = අඟහ 18.30
1995-12-22T09:05:02 = සකු 09.05
-0010-09-15T04:44:23 = සෙන 04.44
EHms (E 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
Ed (d E)
2008-02-05T18:30:30 = 5 අඟහ
1995-12-22T09:05:02 = 22 සකු
-0010-09-15T04:44:23 = 15 සෙන
Ehm (E a h.mm)
2008-02-05T18:30:30 = අඟහ ප.ව. 6.30
1995-12-22T09:05:02 = සකු පෙ.ව. 9.05
-0010-09-15T04:44:23 = සෙන පෙ.ව. 4.44
Ehms (E a h.mm.ss)
2008-02-05T18:30:30 = අඟහ ප.ව. 6.30.30
1995-12-22T09:05:02 = සකු පෙ.ව. 9.05.02
-0010-09-15T04:44:23 = සෙන පෙ.ව. 4.44.23
Gy (G y)
2008-02-05T18:30:30 = කර.ව. 2008
1995-12-22T09:05:02 = කර.ව. 1995
-0010-09-15T04:44:23 = කර.ප. -10
GyMMM (G y MMM)
2008-02-05T18:30:30 = කර.ව. 2008 පෙබ
1995-12-22T09:05:02 = කර.ව. 1995 දෙසැ
-0010-09-15T04:44:23 = කර.ප. -10 සැප්
GyMMMEd (G y MMM d, E)
2008-02-05T18:30:30 = කර.ව. 2008 පෙබ 5, අඟහ
1995-12-22T09:05:02 = කර.ව. 1995 දෙසැ 22, සකු
-0010-09-15T04:44:23 = කර.ප. -10 සැප් 15, සෙන
GyMMMd (G y MMM d)
2008-02-05T18:30:30 = කර.ව. 2008 පෙබ 5
1995-12-22T09:05:02 = කර.ව. 1995 දෙසැ 22
-0010-09-15T04:44:23 = කර.ප. -10 සැප් 15
GyMd (GGGGG y-MM-dd)
2008-02-05T18:30:30 = කර.ව. 2008-02-05
1995-12-22T09:05:02 = කර.ව. 1995-12-22
-0010-09-15T04:44:23 = කර.ප. -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 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 (M-d, E)
2008-02-05T18:30:30 = 2-5, අඟහ
1995-12-22T09:05:02 = 12-22, සකු
-0010-09-15T04:44:23 = 9-15, සෙන
MMM (LLL)
2008-02-05T18:30:30 = පෙබ
1995-12-22T09:05:02 = දෙසැ
-0010-09-15T04:44:23 = සැප්
MMMEd (MMM d E)
2008-02-05T18:30:30 = පෙබ 5 අඟහ
1995-12-22T09:05:02 = දෙසැ 22 සකු
-0010-09-15T04:44:23 = සැප් 15 සෙන
MMMMW-count-one (MMMM සතය W)
2008-02-05T18:30:30 = පෙබරවාරි සතය 1
1995-12-22T09:05:02 = දෙසැමබර් සතය 3
-0010-09-15T04:44:23 = සැපතැමබර් සතය 2
MMMMW-count-other (MMMM සතය W)
2008-02-05T18:30:30 = පෙබරවාරි සතය 1
1995-12-22T09:05:02 = දෙසැමබර් සතය 3
-0010-09-15T04:44:23 = සැපතැමබර් සතය 2
MMMMd (MMMM d)
2008-02-05T18:30:30 = පෙබරවාරි 5
1995-12-22T09:05:02 = දෙසැමබර් 22
-0010-09-15T04:44:23 = සැපතැමබර් 15
MMMd (MMM d)
2008-02-05T18:30:30 = පෙබ 5
1995-12-22T09:05:02 = දෙසැ 22
-0010-09-15T04:44:23 = සැප් 15
Md (M-d)
2008-02-05T18:30:30 = 2-5
1995-12-22T09:05:02 = 12-22
-0010-09-15T04:44:23 = 9-15
d (d)
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
h (a h)
2008-02-05T18:30:30 = ප.ව. 6
1995-12-22T09:05:02 = පෙ.ව. 9
-0010-09-15T04:44:23 = පෙ.ව. 4
hm (a h.mm)
…and bestie, we're literally mid-list right here — hm is where part 1 of this page taps out, so hold that thought 🫶✨
Picking up mid-list, no reset — these are the next examples in the localized format parade:
2008-02-05T18:30:30 = ප.ව. 6.30
1995-12-22T09:05:02 = පෙ.ව. 9.05
-0010-09-15T04:44:23 = පෙ.ව. 4.44
🌸 hms (a h.mm.ss) 🌸
Hours, minutes, seconds, all together — cute.
2008-02-05T18:30:30 = ප.ව. 6.30.30
1995-12-22T09:05:02 = පෙ.ව. 9.05.02
-0010-09-15T04:44:23 = පෙ.ව. 4.44.23
🦋 hmsv (h.mm.ss a v) 🦋
Same energy, but with the a and v bits doing their thing.
2008-02-05T18:30:30 = 6.30.30 ප.ව. UTC
1995-12-22T09:05:02 = 9.05.02 පෙ.ව. UTC
-0010-09-15T04:44:23 = 4.44.23 පෙ.ව. UTC
🎀 hmv (h.mm a v) 🎀
Hours and minutes with the a and v combo — slay.
2008-02-05T18:30:30 = 6.30 ප.ව. UTC
1995-12-22T09:05:02 = 9.05 පෙ.ව. UTC
-0010-09-15T04:44:23 = 4.44 පෙ.ව. UTC
⭐ ms (mm.ss) ⭐
Minutes and seconds only — tiny but mighty.
2008-02-05T18:30:30 = 30.30
1995-12-22T09:05:02 = 05.02
-0010-09-15T04:44:23 = 44.23
💖 y (y) 💖
Year-only minimalism. Iconic.
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
🌈 yM (y-M) 🌈
Year and month, linked up.
2008-02-05T18:30:30 = 2008-2
1995-12-22T09:05:02 = 1995-12
-0010-09-15T04:44:23 = -10-9
🪩 yMEd (y-M-d, E) 🪩
Year, month, day, plus the E in the mix.
2008-02-05T18:30:30 = 2008-2-5, අඟහ
1995-12-22T09:05:02 = 1995-12-22, සකු
-0010-09-15T04:44:23 = -10-9-15, සෙන
🍓 yMMM (y MMM) 🍓
Year plus the short month name.
2008-02-05T18:30:30 = 2008 පෙබ
1995-12-22T09:05:02 = 1995 දෙසැ
-0010-09-15T04:44:23 = -10 සැප්
🧚 yMMMEd (y MMM d, E) 🧚
Short month, day, and that E again.
2008-02-05T18:30:30 = 2008 පෙබ 5, අඟහ
1995-12-22T09:05:02 = 1995 දෙසැ 22, සකු
-0010-09-15T04:44:23 = -10 සැප් 15, සෙන
💜 yMMMM (y MMMM) 💜
Year plus the long month name — full glam.
2008-02-05T18:30:30 = 2008 පෙබරවාරි
1995-12-22T09:05:02 = 1995 දෙසැමබර්
-0010-09-15T04:44:23 = -10 සැපතැමබර්
🔥 yMMMd (y MMM d) 🔥
Short month and day, no extra drama.
2008-02-05T18:30:30 = 2008 පෙබ 5
1995-12-22T09:05:02 = 1995 දෙසැ 22
-0010-09-15T04:44:23 = -10 සැප් 15
🌟 yMd (y-M-d) 🌟
Classic year-month-day lineup.
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 realness, short form.
2008-02-05T18:30:30 = 2008 කාර:1
1995-12-22T09:05:02 = 1995 කාර:4
-0010-09-15T04:44:23 = -10 කාර:3
🦄 yQQQQ (y QQQQ) 🦄
Quarter realness, long form.
2008-02-05T18:30:30 = 2008 1 වන කාරතව
1995-12-22T09:05:02 = 1995 4 වන කාරතව
-0010-09-15T04:44:23 = -10 3 වන කාරතව
🫶 yw-count-one (Y සතය w) 🫶
Week-count energy, one edition.
2008-02-05T18:30:30 = 2008 සතය 6
1995-12-22T09:05:02 = 1995 සතය 51
-0010-09-15T04:44:23 = -10 සතය 37
🫶 yw-count-other (Y සතය w) 🫶
Week-count energy, other edition — yes, the values are literally the same as above, and we are keeping both because the original does. Periodt.
2008-02-05T18:30:30 = 2008 සතය 6
1995-12-22T09:05:02 = 1995 සතය 51
-0010-09-15T04:44:23 = -10 සතය 37
🌈 Miscellaneous 🌈
- Prefers 24 hour time? Yes — noted, bestie.
- Local first day of the week:
1 (සඳදා)
💫 Strftime Patterns 💫
⭐ %c (%a %b %e %H:%M:%S %Y) - date time format ⭐
The big date-time combo. Main character format.
2008-02-05T18:30:30 = අඟහ පෙබ 5 18:30:30 2008
1995-12-22T09:05:02 = සකු දෙසැ 22 09:05:02 1995
-0010-09-15T04:44:23 = සෙන සැප් 15 04:44:23 -10
🦋 %x (%m/%d/%y) - date format 🦋
Date-only, short and sweet.
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 🎀
Time-only, clocked all the way in.
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 localized-format vibe check, bestie. This page is from perl v5.42.0, dated 2024-12-12 — now go format something iconic. 💅✨
📦 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