DateTim...ale::xnr(3)

💖 NAME 💖

DateTime::Locale::xnr — locale data examples for the Kangri (xnr) locale 💅

straight out of the User Contributed Perl Documentation, bestie ✨

🌸 DESCRIPTION 🌸

okay so this pod file is literally a whole collection of examples showing the locale data available for the Kangri locale. It’s giving reference sheet, but make it cute 🦋

🗓️ Days 🗓️

the day names are here in every flavor — wide, abbreviated, narrow, format, stand-alone, the whole lineup. no cap 💫

✨ Wide (format) ✨

सोआर
मगलवार
बधवार
वीरवार
शककरवार
शनिचचरवार
तोआर

✨ Abbreviated (format) ✨

सोआर
मगल
बध
वीर
शककर
शनि
तोआर

✨ Narrow (format) ✨

सो
मं
बु
वी
शु
श
त

✨ Wide (stand-alone) ✨

सोआर
मगलवार
बधवार
वीरवार
शककरवार
शनिचचरवार
तोआर

✨ Abbreviated (stand-alone) ✨

सोआर
मगल
बध
वीर
शककर
शनि
तोआर

✨ Narrow (stand-alone) ✨

सो
मं
बु
वी
शु
श
त

🌙 Months 🌙

month names, same deal: wide, abbreviated, narrow, format, stand-alone. iconic behavior honestly 🎀

✨ Wide (format) ✨

जनवरी
फरवरी
मारच
अपरल
मई
जन
जलाई
अगसत
सितबर
अकतबर
नवबर
दिसबर

✨ Abbreviated (format) ✨

जन॰
फर॰
मारच
अपरल
मई
जन
जल॰
अग॰
सित॰
अकत॰
नव॰
दिस॰

✨ Narrow (format) ✨

ज
फ़
मा
अ
म
जू
जु
अ
सि
अ
न
दि

✨ Wide (stand-alone) ✨

जनवरी
फरवरी
मारच
अपरल
मई
जन
जलाई
अगसत
सितबर
अकतबर
नवबर
दिसबर

✨ Abbreviated (stand-alone) ✨

जन॰
फर॰
मारच
अपरल
मई
जन
जल॰
अग॰
सित॰
अकत॰
नव॰
दिस॰

✨ Narrow (stand-alone) ✨

ज
फ़
मा
अ
म
जू
जु
अ
सि
अ
न
दि

🌼 Quarters 🌼

quarter names, all cozy in their four little slots. slay 💐

✨ Wide (format) ✨

पले तिन मीनने
दजे तिन मीनने
तीजे तिन मीनने
चौथे तिन मीनने

✨ Abbreviated (format) ✨

ति1
ति2
ति3
ति4

✨ Narrow (format) ✨

1
2
3
4

✨ Wide (stand-alone) ✨

पले तिन मीनने
दजे तिन मीनने
तीजे तिन मीनने
चौथे तिन मीनने

✨ Abbreviated (stand-alone) ✨

ति1
ति2
ति3
ति4

✨ Narrow (stand-alone) ✨

1
2
3
4

🏛️ Eras 🏛️

era names, keep them exactly as they are bestie 🫶

✨ Wide (format) ✨

ईसा-पले
ईसवी सन

✨ Abbreviated (format) ✨

ईसा-पले
ईसवी

✨ Narrow (format) ✨

ईसा-पले
ईसवी

📅 Date Formats 📅

date-only examples, coming at you in full, long, medium, and short. the range is real 🌈

✨ Full ✨

2008-02-05T18:30:30 = मगलवार, 5 फरवरी 2008
1995-12-22T09:05:02 = शककरवार, 22 दिसबर 1995
-0010-09-15T04:44:23 = शनिचचरवार, 15 सितबर -10

✨ Long ✨

2008-02-05T18:30:30 = 5 फरवरी 2008
1995-12-22T09:05:02 = 22 दिसबर 1995
-0010-09-15T04:44:23 = 15 सितबर -10

✨ Medium ✨

2008-02-05T18:30:30 = 5 फर॰ 2008
1995-12-22T09:05:02 = 22 दिस॰ 1995
-0010-09-15T04:44:23 = 15 सित॰ -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-only examples, with all the little seconds and UTC tags where they belong. periodt 💅

✨ Full ✨

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

✨ Long ✨

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

✨ Medium ✨

2008-02-05T18:30:30 = 6:30:30 दपहरा/सजा
1995-12-22T09:05:02 = 9:05:02 भयागा
-0010-09-15T04:44:23 = 4:44:23 भयागा

✨ Short ✨

2008-02-05T18:30:30 = 6:30 दपहरा/सजा
1995-12-22T09:05:02 = 9:05 भयागा
-0010-09-15T04:44:23 = 4:44 भयागा

🌟 Datetime Formats 🌟

date plus time, all together now. this is where it really starts eating 💖

✨ Full ✨

2008-02-05T18:30:30 = मगलवार, 5 फरवरी 2008, 6:30:30 दपहरा/सजा UTC
1995-12-22T09:05:02 = शककरवार, 22 दिसबर 1995, 9:05:02 भयागा UTC
-0010-09-15T04:44:23 = शनिचचरवार, 15 सितबर -10, 4:44:23 भयागा UTC

✨ Long ✨

2008-02-05T18:30:30 = 5 फरवरी 2008, 6:30:30 दपहरा/सजा UTC
1995-12-22T09:05:02 = 22 दिसबर 1995, 9:05:02 भयागा UTC
-0010-09-15T04:44:23 = 15 सितबर -10, 4:44:23 भयागा UTC

✨ Medium ✨

2008-02-05T18:30:30 = 5 फर॰ 2008, 6:30:30 दपहरा/सजा
1995-12-22T09:05:02 = 22 दिस॰ 1995, 9:05:02 भयागा
-0010-09-15T04:44:23 = 15 सित॰ -10, 4:44:23 भयागा

✨ Short ✨

2008-02-05T18:30:30 = 5/2/08, 6:30 दपहरा/सजा
1995-12-22T09:05:02 = 22/12/95, 9:05 भयागा
-0010-09-15T04:44:23 = 15/9/-10, 4:44 भयागा

🎀 Available Formats 🎀

this is the big buffet of available format patterns, bestie — each label comes with its example outputs. obsessed 🍓

Bh (B h)

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

Bhm (B h:mm)

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

Bhms (B h:mm:ss)

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

E (ccc)

2008-02-05T18:30:30 = मगल
1995-12-22T09:05:02 = शककर
-0010-09-15T04:44:23 = शनि

EBhm (E B h:mm)

2008-02-05T18:30:30 = मगल B 6:30
1995-12-22T09:05:02 = शककर B 9:05
-0010-09-15T04:44:23 = शनि B 4:44

EBhms (E B h:mm:ss)

2008-02-05T18:30:30 = मगल B 6:30:30
1995-12-22T09:05:02 = शककर B 9:05:02
-0010-09-15T04:44:23 = शनि B 4:44:23

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

2008-02-05T18:30:30 = मगल 5
1995-12-22T09:05:02 = शककर 22
-0010-09-15T04:44:23 = शनि 15

Ehm (E h:mm a)

2008-02-05T18:30:30 = मगल 6:30 दपहरा/सजा
1995-12-22T09:05:02 = शककर 9:05 भयागा
-0010-09-15T04:44:23 = शनि 4:44 भयागा

Ehms (E h:mm:ss a)

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 (y G)

2008-02-05T18:30:30 = 2008 ईसवी
1995-12-22T09:05:02 = 1995 ईसवी
-0010-09-15T04:44:23 = -10 ईसा-पले

GyMMM (MMM G y)

2008-02-05T18:30:30 = फर॰ ईसवी 2008
1995-12-22T09:05:02 = दिस॰ ईसवी 1995
-0010-09-15T04:44:23 = सित॰ ईसा-पले -10

GyMMMEd (E, d MMM y G)

2008-02-05T18:30:30 = मगल, 5 फर॰ 2008 ईसवी
1995-12-22T09:05:02 = शककर, 22 दिस॰ 1995 ईसवी
-0010-09-15T04:44:23 = शनि, 15 सित॰ -10 ईसा-पले

GyMMMd (d MMM y G)

2008-02-05T18:30:30 = 5 फर॰ 2008 ईसवी
1995-12-22T09:05:02 = 22 दिस॰ 1995 ईसवी
-0010-09-15T04:44:23 = 15 सित॰ -10 ईसा-पले

GyMd (d/M/y G)

2008-02-05T18:30:30 = 5/2/2008 ईसवी
1995-12-22T09:05:02 = 22/12/1995 ईसवी
-0010-09-15T04:44:23 = 15/9/-10 ईसा-पले

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 = मगल, 5/2
1995-12-22T09:05:02 = शककर, 22/12
-0010-09-15T04:44:23 = शनि, 15/9

MMM (LLL)

2008-02-05T18:30:30 = फर॰
1995-12-22T09:05:02 = दिस॰
-0010-09-15T04:44:23 = सित॰

MMMEd (E, d MMM)

2008-02-05T18:30:30 = मगल, 5 फर॰
1995-12-22T09:05:02 = शककर, 22 दिस॰
-0010-09-15T04:44:23 = शनि, 15 सित॰

MMMMW-count-other (MMMM दा सपताह W)

2008-02-05T18:30:30 = फरवरी दा सपताह 1
1995-12-22T09:05:02 = दिसबर दा सपताह 3
-0010-09-15T04:44:23 = सितबर दा सपताह 2

MMMMd (d MMMM)

2008-02-05T18:30:30 = 5 फरवरी
1995-12-22T09:05:02 = 22 दिसबर
-0010-09-15T04:44:23 = 15 सितबर

MMMd (d MMM)

2008-02-05T18:30:30 = 5 फर॰
1995-12-22T09:05:02 = 22 दिस॰
-0010-09-15T04:44:23 = 15 सित॰

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 दपहरा/सजा
1995-12-22T09:05:02 = 9 भयागा
-0010-09-15T04:44:23 = 4 भयागा

hm (h:mm a)

(the examples for this one continue in part 2, bestie — stay tuned 💖)

...and the tail of that pattern block, straight off the top 💖

2008-02-05T18:30:30 = 6:30 दपहरा/सजा
1995-12-22T09:05:02 = 9:05 भयागा
-0010-09-15T04:44:23 = 4:44 भयागा

okay and every single one of these is demoed against the exact same three timestamps — 2008-02-05T18:30:30, 1995-12-22T09:05:02 and -0010-09-15T04:44:23 (yes the last one is a negative year, she's built different 💀). here's the whole pattern parade 👑

hms — h:mm:ss a

hour + minute + second and the time-of-day word, all together 🌸

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 as above but it drags the time zone name along for the ride 🎀

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

hour and minute + time-of-day word + zone. no seconds, we're in a hurry 🦋

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, no hours invited to the party ✨

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

y — y

just the year, doing the absolute bare minimum and slaying anyway 💅

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

yM — M/y

month, then a slash, then the year 🌈

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

weekday, comma, then day/month/year — it's giving "date with a little name tag" 🏷️

2008-02-05T18:30:30 = मगल, 5/2/2008
1995-12-22T09:05:02 = शककर, 22/12/1995
-0010-09-15T04:44:23 = शनि, 15/9/-10

yMMM — MMM y

abbreviated month + year, short and sweet (see that little ॰? iconic) 🙈

2008-02-05T18:30:30 = फर॰ 2008
1995-12-22T09:05:02 = दिस॰ 1995
-0010-09-15T04:44:23 = सित॰ -10

yMMMEd — E, d MMM y

weekday plus day plus abbreviated month plus year — the full little ensemble 🔥

2008-02-05T18:30:30 = मगल, 5 फर॰ 2008
1995-12-22T09:05:02 = शककर, 22 दिस॰ 1995
-0010-09-15T04:44:23 = शनि, 15 सित॰ -10

yMMMM — MMMM y

now with the full month name, no abbreviations, she spelled it all out 💜

2008-02-05T18:30:30 = फरवरी 2008
1995-12-22T09:05:02 = दिसबर 1995
-0010-09-15T04:44:23 = सितबर -10

yMMMd — d MMM y

day, abbreviated month, year. no weekday, she's off the clock 🍓

2008-02-05T18:30:30 = 5 फर॰ 2008
1995-12-22T09:05:02 = 22 दिस॰ 1995
-0010-09-15T04:44:23 = 15 सित॰ -10

yMd — d/M/y

day/month/year, pure numbers, no notes 🎯

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

yQQQ — QQQ y

abbreviated quarter + year, quarter girlies rise 🌸

2008-02-05T18:30:30 = ति1 2008
1995-12-22T09:05:02 = ति4 1995
-0010-09-15T04:44:23 = ति3 -10

yQQQQ — QQQQ y

the full quarter name + year, verbose and proud of it 👑

2008-02-05T18:30:30 = पले तिन मीनने 2008
1995-12-22T09:05:02 = चौथे तिन मीनने 1995
-0010-09-15T04:44:23 = तीजे तिन मीनने -10

yw-count-other — Y दा सपताह w

year + week-of-year energy, and note the -other in the key — that's the other plural bucket doing its thing 🫶

2008-02-05T18:30:30 = 2008 दा सपताह 6
1995-12-22T09:05:02 = 1995 दा सपताह 51
-0010-09-15T04:44:23 = -10 दा सपताह 37

🎀 Miscellaneous

the little settings that live in the locale's vibes 💫

  • Prefers 24 hour time? — No
  • Local first day of the week — 1 (सोआर)

✨ Strftime Patterns ✨

these are the classic strftime-style ones, for when you're old-school but still cute 💖

%c — %a %b %e %H:%M:%S %Y — date time format

the whole date and the whole time, one pattern, no crumbs 🌈

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

(yes there's a double space after फर॰ in that first line — that's genuinely what it outputs, don't come for me 😭)

%x — %m/%d/%y — date format

date only, numerically, in that month/day/year order 🌸

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, 24-hour style, clean and crisp ✨

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 it, that's the whole support section, go read the parent page bestie 💜


and that's a wrap on the xnr locale tour!! 🌟 this page came from perl v5.42.0, dated 2024-12-12, and it's the DateTim...ale::xnr(3) page — go format some dates, you absolute icon 💅✨

📦 where this page comes from