DateTim...ale::kn(3)

💖 NAME 💖

DateTime::Locale::kn — locale data examples for the Kannada (kn) locale, bestie ✨ (it's the DateTim...ale::kn(3) page, Perl User Contributed Perl Documentation, if you're keeping track 🎀)


🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the Kannada locale. It's literally a whole mood board of Kannada date words, no cap 🫶

🗓️ 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)

ಜನ
ಫಬರ
ಮಾರಚ್
ಏಪರಿ
ಮೇ
ಜೂನ್
ಜುಲೈ
ಆಗ
ಸಪಟಂ
ಅಕಟೋ
ನವಂ
ಡಸಂ

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

Ok so this is where it gets fun — every one of these is a timestamp on the left and how the Kannada locale actually renders it on the right. Obsessed with the negative years, ngl 😭

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
Heads up bestie — look at that last line: 15/9/-10. Negative year, still slaying 💅

⏰ Time Formats

Full

2008-02-05T18:30:30 = 06:30:30 PM UTC
1995-12-22T09:05:02 = 09:05:02 AM UTC
-0010-09-15T04:44:23 = 04:44:23 AM UTC

Long

2008-02-05T18:30:30 = 06:30:30 PM UTC
1995-12-22T09:05:02 = 09:05:02 AM UTC
-0010-09-15T04:44:23 = 04:44:23 AM UTC

Medium

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

Short

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

🌈 Datetime Formats

Basically date + time glued together, and yes the Kannada month names are still serving ✨

Full

2008-02-05T18:30:30 = ಮಂಗಳವಾರ, ಫಬರವರಿ 5, 2008 06:30:30 PM UTC
1995-12-22T09:05:02 = ಶುಕರವಾರ, ಡಸಂಬರ್ 22, 1995 09:05:02 AM UTC
-0010-09-15T04:44:23 = ಶನವಾರ, ಸಪಟಂಬರ್ 15, -10 04:44:23 AM UTC

Long

2008-02-05T18:30:30 = ಫಬರವರಿ 5, 2008 06:30:30 PM UTC
1995-12-22T09:05:02 = ಡಸಂಬರ್ 22, 1995 09:05:02 AM UTC
-0010-09-15T04:44:23 = ಸಪಟಂಬರ್ 15, -10 04:44:23 AM UTC

Medium

2008-02-05T18:30:30 = ಫಬರ 5, 2008 06:30:30 PM
1995-12-22T09:05:02 = ಡಸಂ 22, 1995 09:05:02 AM
-0010-09-15T04:44:23 = ಸಪಟಂ 15, -10 04:44:23 AM

Short

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

🎀 Available Formats

This is the big one — every named format pattern, with its three test timestamps. Do not skip, there's a lot and they all matter, iykyk 🔥

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 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

Ehms (E 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

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

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 ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of ಫಬರವರಿ
1995-12-22T09:05:02 = week 3 of ಡಸಂಬರ್
-0010-09-15T04:44:23 = week 2 of ಸಪಟಂಬರ್

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 ಸಪಟಂ

MMdd (dd-MM)

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

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 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 v)

hmv (h:mm a v)

Hour, minute, and that UTC flex 😌

  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)

Just the minute and second, nothing else, minimal queen behavior 💅

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

y (y)

The year, standalone, no notes.

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

yM (M/y)

Month and year bestie ✨

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

yMEd (E, M/d/y)

Weekday, then month/day/year — and yes the weekday names come through in Kannada here (this is the kn locale after all 🌸)

  2008-02-05T18:30:30 = ಮಂಗಳ, 2/5/2008
  1995-12-22T09:05:02 = ಶುಕರ, 12/22/1995
  -0010-09-15T04:44:23 = ಶನ, 9/15/-10

yMM (MM-y)

Zero-padded month, dash, year. Note that last one — negative year, so you get 09--10 and it looks cursed but it's correct 💀

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

yMMM (MMM y)

Abbreviated month plus year 🎀

  2008-02-05T18:30:30 = ಫಬರ 2008
  1995-12-22T09:05:02 = ಡಸಂ 1995
  -0010-09-15T04:44:23 = ಸಪಟಂ -10

yMMMEd (E, MMM d, y)

Weekday + abbreviated month + day + year, all together, ate 💅

  2008-02-05T18:30:30 = ಮಂಗಳ, ಫಬರ 5, 2008
  1995-12-22T09:05:02 = ಶುಕರ, ಡಸಂ 22, 1995
  -0010-09-15T04:44:23 = ಶನ, ಸಪಟಂ 15, -10

yMMMM (MMMM y)

Same vibe but the month gets to spell out its whole name, main character energy 👑

  2008-02-05T18:30:30 = ಫಬರವರಿ 2008
  1995-12-22T09:05:02 = ಡಸಂಬರ್ 1995
  -0010-09-15T04:44:23 = ಸಪಟಂಬರ್ -10

yMMMd (MMM d,y)

Heads up, no space after that comma in the pattern itself — copy the pattern exactly, bestie 🫶

  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 first, then month, then year — day/month/year girlies rise 😭

  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)

Quarter, abbreviated, plus year 🌈

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

yQQQQ (QQQQ y)

Quarter in full, with the ordinal-ish suffix living in the locale strings, iconic ⭐

  2008-02-05T18:30:30 = 1ನೇ ತರೈಮಾಸಕ 2008
  1995-12-22T09:05:02 = 4ನೇ ತರೈಮಾಸಕ 1995
  -0010-09-15T04:44:23 = 3ನೇ ತರೈಮಾಸಕ -10

yw-count-other ('week' w 'of' Y)

Week number of the year, literally spelled out with the words week and of in the pattern. Also look at week 37 of -10, we're time traveling fr fr 🦋

  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 🍓

Little settings check, iykyk:

  • Prefers 24 hour time? — No
  • Local first day of the week — 1 (ಸೋಮವಾರ)

🌸 Strftime Patterns 🌸

These are the classic strftime-style ones, with the pattern shown in parentheses:

%c (%a %b %e %H:%M:%S %Y) — date time 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

(and yes, that double space before the 5 in the first line is supposed to be there — %e is like that 🙈)

%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 support section, she's short and to the point 💖


And that's the page, bestie! Written up against perl v5.42.0, dated 2024-12-12, and filed under DateTim...ale::kn(3) — go forth and format your dates flawlessly ✨🎀

📦 where this page comes from