DateTim...ale::ko(3)
π
β¨ DateTime::Locale::ko β¨π
so this is a page from the User Contributed Perl Documentation (it's in section (3) of the manual, iykyk) and it's literally all about the locale data for the Korean (ko) locale. bestie, it's giving reference material and honestly? iconic.
πΈ NAME πΈ
DateTime::Locale::ko β the locale data examples for the Korean (ko) locale, and the star of this whole show π
π DESCRIPTION π
okay so what this pod file is, is literally just a showcase. "This pod file contains examples of the locale data available for the Korean locale." That's the whole description, fr fr β everything after this sentence is just the data flexing on you. no cap. let's get into it π«Ά
π¦ Days π¦
Wide (format)
μμμΌ
νμμΌ
μμμΌ
λͺ©μμΌ
κΈμμΌ
ν μμΌ
μΌμμΌ
Abbreviated (format)
μ
ν
μ
λͺ©
κΈ
ν
μΌ
Narrow (format)
μ
ν
μ
λͺ©
κΈ
ν
μΌ
Wide (stand-alone)
μμμΌ
νμμΌ
μμμΌ
λͺ©μμΌ
κΈμμΌ
ν μμΌ
μΌμμΌ
Abbreviated (stand-alone)
μ
ν
μ
λͺ©
κΈ
ν
μΌ
Narrow (stand-alone)
μ
ν
μ
λͺ©
κΈ
ν
μΌ
the way narrow and abbreviated are identical here? yeah bestie they're the same in Korean, that's the slay π
πΈ Months πΈ
Wide (format)
1μ
2μ
3μ
4μ
5μ
6μ
7μ
8μ
9μ
10μ
11μ
12μ
Abbreviated (format)
1μ
2μ
3μ
4μ
5μ
6μ
7μ
8μ
9μ
10μ
11μ
12μ
Narrow (format)
1μ
2μ
3μ
4μ
5μ
6μ
7μ
8μ
9μ
10μ
11μ
12μ
Wide (stand-alone)
1μ
2μ
3μ
4μ
5μ
6μ
7μ
8μ
9μ
10μ
11μ
12μ
Abbreviated (stand-alone)
1μ
2μ
3μ
4μ
5μ
6μ
7μ
8μ
9μ
10μ
11μ
12μ
Narrow (stand-alone)
1μ
2μ
3μ
4μ
5μ
6μ
7μ
8μ
9μ
10μ
11μ
12μ
all six styles agreeing for the entire year? that's main character energy, no notes π
π Quarters π
Wide (format)
μ 1/4λΆκΈ°
μ 2/4λΆκΈ°
μ 3/4λΆκΈ°
μ 4/4λΆκΈ°
Abbreviated (format)
1λΆκΈ°
2λΆκΈ°
3λΆκΈ°
4λΆκΈ°
Narrow (format)
1
2
3
4
Wide (stand-alone)
μ 1/4λΆκΈ°
μ 2/4λΆκΈ°
μ 3/4λΆκΈ°
μ 4/4λΆκΈ°
Abbreviated (stand-alone)
1λΆκΈ°
2λΆκΈ°
3λΆκΈ°
4λΆκΈ°
Narrow (stand-alone)
1
2
3
4
narrow quarters are just raw digits and honestly? valid. no decoration needed π§
β Eras β
Wide (format)
κΈ°μμ
μκΈ°
Abbreviated (format)
BC
AD
Narrow (format)
BC
AD
not me noticing there's only three styles for eras, not six β that's the vibe check passing, don't come for me π
π₯ Date Formats π₯
okay so real talk, every single example below uses the same three test timestamps so you can compare: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23. iconic consistency, love that for us π
Full
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ νμμΌ
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ κΈμμΌ
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ ν μμΌ
Long
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ
Medium
2008-02-05T18:30:30 = 2008. 2. 5.
1995-12-22T09:05:02 = 1995. 12. 22.
-0010-09-15T04:44:23 = -10. 9. 15.
Short
2008-02-05T18:30:30 = 08. 2. 5.
1995-12-22T09:05:02 = 95. 12. 22.
-0010-09-15T04:44:23 = -10. 9. 15.
the way Short chops the year down to two digits for 2008 and 1995 but leaves -10 fully intact β that's the data, bestie, I don't make the rules π«
π¦ Time Formats π¦
Full
2008-02-05T18:30:30 = PM 6μ 30λΆ 30μ΄ UTC
1995-12-22T09:05:02 = AM 9μ 5λΆ 2μ΄ UTC
-0010-09-15T04:44:23 = AM 4μ 44λΆ 23μ΄ UTC
Long
2008-02-05T18:30:30 = PM 6μ 30λΆ 30μ΄ UTC
1995-12-22T09:05:02 = AM 9μ 5λΆ 2μ΄ UTC
-0010-09-15T04:44:23 = AM 4μ 44λΆ 23μ΄ UTC
Medium
2008-02-05T18:30:30 = PM 6:30:30
1995-12-22T09:05:02 = AM 9:05:02
-0010-09-15T04:44:23 = AM 4:44:23
Short
2008-02-05T18:30:30 = PM 6:30
1995-12-22T09:05:02 = AM 9:05
-0010-09-15T04:44:23 = AM 4:44
Full and Long being identical here is not a typo, it's just how it is β the more you know π
π Datetime Formats π
Full
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ νμμΌ PM 6μ 30λΆ 30μ΄ UTC
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ κΈμμΌ AM 9μ 5λΆ 2μ΄ UTC
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ ν μμΌ AM 4μ 44λΆ 23μ΄ UTC
Long
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ PM 6μ 30λΆ 30μ΄ UTC
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ AM 9μ 5λΆ 2μ΄ UTC
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ AM 4μ 44λΆ 23μ΄ UTC
Medium
2008-02-05T18:30:30 = 2008. 2. 5. PM 6:30:30
1995-12-22T09:05:02 = 1995. 12. 22. AM 9:05:02
-0010-09-15T04:44:23 = -10. 9. 15. AM 4:44:23
Short
2008-02-05T18:30:30 = 08. 2. 5. PM 6:30
1995-12-22T09:05:02 = 95. 12. 22. AM 9:05
-0010-09-15T04:44:23 = -10. 9. 15. AM 4:44
datetime is literally just the date and the time holding hands, obsessed π«Ά
π Available Formats π
okay this is the big one bestie β every entry below is a named format, and the label is code (pattern) so you know exactly which pattern produces which output. pace yourself, hydrate, let's go π₯
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
EEEEd (dμΌ EEEE)
2008-02-05T18:30:30 = 5μΌ νμμΌ
1995-12-22T09:05:02 = 22μΌ κΈμμΌ
-0010-09-15T04:44:23 = 15μΌ ν μμΌ
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 = (ν) PM 6:30
1995-12-22T09:05:02 = (κΈ) AM 9:05
-0010-09-15T04:44:23 = (ν ) AM 4:44
Ehms ((E) a h:mm:ss)
2008-02-05T18:30:30 = (ν) PM 6:30:30
1995-12-22T09:05:02 = (κΈ) AM 9:05:02
-0010-09-15T04:44:23 = (ν ) AM 4:44:23
Gy (G yλ
)
2008-02-05T18:30:30 = AD 2008λ
1995-12-22T09:05:02 = AD 1995λ
-0010-09-15T04:44:23 = BC -10λ
GyMMM (G yλ
MMM)
2008-02-05T18:30:30 = AD 2008λ
2μ
1995-12-22T09:05:02 = AD 1995λ
12μ
-0010-09-15T04:44:23 = BC -10λ
9μ
GyMMMEEEEd (G yλ
MMM dμΌ EEEE)
2008-02-05T18:30:30 = AD 2008λ
2μ 5μΌ νμμΌ
1995-12-22T09:05:02 = AD 1995λ
12μ 22μΌ κΈμμΌ
-0010-09-15T04:44:23 = BC -10λ
9μ 15μΌ ν μμΌ
GyMMMEd (G yλ
MMM dμΌ (E))
2008-02-05T18:30:30 = AD 2008λ
2μ 5μΌ (ν)
1995-12-22T09:05:02 = AD 1995λ
12μ 22μΌ (κΈ)
-0010-09-15T04:44:23 = BC -10λ
9μ 15μΌ (ν )
GyMMMd (G yλ
MMM dμΌ)
2008-02-05T18:30:30 = AD 2008λ
2μ 5μΌ
1995-12-22T09:05:02 = AD 1995λ
12μ 22μΌ
-0010-09-15T04:44:23 = BC -10λ
9μ 15μΌ
GyMd (GGGGG y/M/d)
2008-02-05T18:30:30 = AD 2008/2/5
1995-12-22T09:05:02 = AD 1995/12/22
-0010-09-15T04:44:23 = BC -10/9/15
H (Hμ)
2008-02-05T18:30:30 = 18μ
1995-12-22T09:05:02 = 9μ
-0010-09-15T04:44:23 = 4μ
HHmmss (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
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 (Hμ mλΆ sμ΄)
2008-02-05T18:30:30 = 18μ 30λΆ 30μ΄
1995-12-22T09:05:02 = 9μ 5λΆ 2μ΄
-0010-09-15T04:44:23 = 4μ 44λΆ 23μ΄
Hmsv (Hμ mλΆ sμ΄ v)
2008-02-05T18:30:30 = 18μ 30λΆ 30μ΄ UTC
1995-12-22T09:05:02 = 9μ 5λΆ 2μ΄ UTC
-0010-09-15T04:44:23 = 4μ 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 (Mμ)
2008-02-05T18:30:30 = 2μ
1995-12-22T09:05:02 = 12μ
-0010-09-15T04:44:23 = 9μ
MEEEEd (M. d. EEEE)
2008-02-05T18:30:30 = 2. 5. νμμΌ
1995-12-22T09:05:02 = 12. 22. κΈμμΌ
-0010-09-15T04:44:23 = 9. 15. ν μμΌ
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 = 2μ
1995-12-22T09:05:02 = 12μ
-0010-09-15T04:44:23 = 9μ
MMMEEEEd (MMM dμΌ EEEE)
2008-02-05T18:30:30 = 2μ 5μΌ νμμΌ
1995-12-22T09:05:02 = 12μ 22μΌ κΈμμΌ
-0010-09-15T04:44:23 = 9μ 15μΌ ν μμΌ
MMMEd (MMM dμΌ (E))
2008-02-05T18:30:30 = 2μ 5μΌ (ν)
1995-12-22T09:05:02 = 12μ 22μΌ (κΈ)
-0010-09-15T04:44:23 = 9μ 15μΌ (ν )
MMMMW-count-other (MMMM Wλ²μ§Έ μ£Ό)
2008-02-05T18:30:30 = 2μ 1λ²μ§Έ μ£Ό
1995-12-22T09:05:02 = 12μ 3λ²μ§Έ μ£Ό
-0010-09-15T04:44:23 = 9μ 2λ²μ§Έ μ£Ό
MMMMd (MMMM dμΌ)
2008-02-05T18:30:30 = 2μ 5μΌ
1995-12-22T09:05:02 = 12μ 22μΌ
-0010-09-15T04:44:23 = 9μ 15μΌ
MMMd (MMM dμΌ)
2008-02-05T18:30:30 = 2μ 5μΌ
1995-12-22T09:05:02 = 12μ 22μΌ
-0010-09-15T04:44:23 = 9μ 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 = PM 6μ
1995-12-22T09:05:02 = AM 9μ
-0010-09-15T04:44:23 = AM 4μ
hm (a h:mm)
2008-02-05T18:30:30 = PM 6:30
1995-12-22T09:05:02 = AM 9:05
-0010-09-15T04:44:23 = AM 4:44
hms (a h:mm:ss)
2008-02-05T18:30:30 = PM 6:30:30
1995-12-22T09:05:02 = AM 9:05:02
-0010-09-15T04:44:23 = AM 4:44:23
hmsv (a h:mm:ss v)
2008-02-05T18:30:30 = PM 6:30:30 UTC
1995-12-22T09:05:02 = AM 9:05:02 UTC
-0010-09-15T04:44:23 = AM 4:44:23 UTC
hmv (a h:mm v)
2008-02-05T18:30:30 = PM 6:30 UTC
1995-12-22T09:05:02 = AM 9:05 UTC
-0010-09-15T04:44:23 = AM 4:44 UTC
mmss (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
ms (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
lowkey obsessed thatmmssandmsshare the exact same pattern and the exact same outputs β yes, that's literally what the page says, and yes, I'm pointing it out π
and that's the end of the Available Formats list β part 2 has the rest, keep scrolling bestie π
y (yλ
)
Just the year, bestie. That's the whole vibe. ποΈ
2008-02-05T18:30:30 = 2008λ
1995-12-22T09:05:02 = 1995λ
-0010-09-15T04:44:23 = -10λ
yM (y. M.)
Year plus month, dotted and dotted. Periodt. π
2008-02-05T18:30:30 = 2008. 2.
1995-12-22T09:05:02 = 1995. 12.
-0010-09-15T04:44:23 = -10. 9.
yMEEEEd (y. M. d. EEEE)
The full-spellout weekday one β she's giving main character energy, showing off the whole day name. π
2008-02-05T18:30:30 = 2008. 2. 5. νμμΌ
1995-12-22T09:05:02 = 1995. 12. 22. κΈμμΌ
-0010-09-15T04:44:23 = -10. 9. 15. ν μμΌ
yMEd (y. M. d. (E))
Same but the weekday's in parentheses and abbreviated β lowkey the introvert version of the one above. π
2008-02-05T18:30:30 = 2008. 2. 5. (ν)
1995-12-22T09:05:02 = 1995. 12. 22. (κΈ)
-0010-09-15T04:44:23 = -10. 9. 15. (ν )
yMM (y. M.)
Double-M year-and-month, and no the output isn't different from yM here β it just is what it is. Not me questioning the data fr fr. π
2008-02-05T18:30:30 = 2008. 2.
1995-12-22T09:05:02 = 1995. 12.
-0010-09-15T04:44:23 = -10. 9.
yMMM (yλ
MMM)
Year + abbreviated month with the λ and μ units doing their thing. Obsessed. β¨
2008-02-05T18:30:30 = 2008λ
2μ
1995-12-22T09:05:02 = 1995λ
12μ
-0010-09-15T04:44:23 = -10λ
9μ
yMMMEEEEd (yλ
MMM dμΌ EEEE)
Okay this one ate β full year, month, day and the entire weekday name. The most extra (affectionate). π
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ νμμΌ
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ κΈμμΌ
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ ν μμΌ
yMMMEd (yλ
MMM dμΌ (E))
Same energy but the weekday's tucked into parens and shortened. Cute and compact. π¦
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ (ν)
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ (κΈ)
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ (ν )
yMMMM (yλ
MMMM)
Quad-M month, year-first. Same result as yMMM here β again, just reporting the facts. π«Ά
2008-02-05T18:30:30 = 2008λ
2μ
1995-12-22T09:05:02 = 1995λ
12μ
-0010-09-15T04:44:23 = -10λ
9μ
yMMMd (yλ
MMM dμΌ)
Year, month, day with the Korean units attached. No weekday invited to this party. πΈ
2008-02-05T18:30:30 = 2008λ
2μ 5μΌ
1995-12-22T09:05:02 = 1995λ
12μ 22μΌ
-0010-09-15T04:44:23 = -10λ
9μ 15μΌ
yMd (y. M. d.)
All dots, all numbers, zero units. Minimalist queen. π€
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 representation, short and sweet β λΆκΈ° means quarter and she said it in three letters. π
2008-02-05T18:30:30 = 2008λ
1λΆκΈ°
1995-12-22T09:05:02 = 1995λ
4λΆκΈ°
-0010-09-15T04:44:23 = -10λ
3λΆκΈ°
yQQQQ (yλ
QQQQ)
The formal quarter flex β the "μ 1/4λΆκΈ°" style. Very business-casual, very slay. πΌ
2008-02-05T18:30:30 = 2008λ
μ 1/4λΆκΈ°
1995-12-22T09:05:02 = 1995λ
μ 4/4λΆκΈ°
-0010-09-15T04:44:23 = -10λ
μ 3/4λΆκΈ°
yw-count-other (Yλ
wλ²μ§Έ μ£Ό)
Week-of-year, counted with the other plural rule, and the label literally says Yλ
wλ²μ§Έ μ£Ό. Iykyk. π₯
2008-02-05T18:30:30 = 2008λ
6λ²μ§Έ μ£Ό
1995-12-22T09:05:02 = 1995λ
51λ²μ§Έ μ£Ό
-0010-09-15T04:44:23 = -10λ
37λ²μ§Έ μ£Ό
π Miscellaneous π
The little extra settings, the garnish of the locale world. π
- Prefers 24 hour time? β No
- Local first day of the week β 1 (μμμΌ)
π Strftime Patterns π
The classic strftime crew, translated to Korean. Each one comes with its own pattern-of-record in the parens and a demo date so you can see it in action. β
%c (%a %b %e %H:%M:%S %Y) β date time format
The whole date and time together, the full look. β¨
2008-02-05T18:30:30 = ν 2μ 5 18:30:30 2008
1995-12-22T09:05:02 = κΈ 12μ 22 09:05:02 1995
-0010-09-15T04:44:23 = ν 9μ 15 04:44:23 -10
%x (%m/%d/%y) β date format
The date on its own, slashed up. ποΈ
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
And the time-only one, colon-separated, doing exactly what it says on the tin. β°
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 π«Ά
Need more? Go see DateTime::Locale, that's the one. π
And that's a wrap, bestie! π This page came from perl v5.42.0, dated 2024-12-12, and it's DateTime::Locale::ko(3) all day long. Go format some dates responsibly. π
β¨
π¦ 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