DateTim...ale::hu(3)

🌸 DateTim...ale::hu(3) — bestie edition 🌸

okay so this is from User Contributed Perl Documentation, and it's literally the locale data page for Hungarian — DateTime::Locale::hu. It's giving "reference doc that's actually just a vibe check of every Hungarian date string". Buckle up 💅


✨ NAME ✨

DateTime::Locale::hu — Locale data examples for the Hungarian (hu) locale 🎀


🦋 DESCRIPTION 🦋

This pod file is a whole showcase of the locale data that's available for the Hungarian locale. No cap, it's just examples — but it's thorough. 💖

💜 Days 💜

Wide (format)

hétfő
kedd
szerda
csütörtök
péntek
szombat
vasárnap

Abbreviated (format)

H
K
Sze
Cs
P
Szo
V

Narrow (format)

H
K
Sz
Cs
P
Sz
V

Wide (stand-alone)

hétfő
kedd
szerda
csütörtök
péntek
szombat
vasárnap

Abbreviated (stand-alone)

H
K
Sze
Cs
P
Szo
V

Narrow (stand-alone)

H
K
Sz
Cs
P
Sz
V

🎀 Months 🎀

Wide (format)

január
február
március
április
május
június
július
augusztus
szeptember
október
november
december

Abbreviated (format)

jan.
febr.
márc.
ápr.
máj.
jún.
júl.
aug.
szept.
okt.
nov.
dec.

Narrow (format)

J
F
M
Á
M
J
J
A
Sz
O
N
D

Wide (stand-alone)

január
február
március
április
május
június
július
augusztus
szeptember
október
november
december

Abbreviated (stand-alone)

jan.
febr.
márc.
ápr.
máj.
jún.
júl.
aug.
szept.
okt.
nov.
dec.

Narrow (stand-alone)

J
F
M
Á
M
J
J
A
Sz
O
N
D

🧚 Quarters 🧚

Wide (format)

I. negyedév
II. negyedév
III. negyedév
IV. negyedév

Abbreviated (format)

I. n.év
II. n.év
III. n.év
IV. n.év

Narrow (format)

I.
II.
III.
IV.

Wide (stand-alone)

1. negyedév
2. negyedév
3. negyedév
4. negyedév

Abbreviated (stand-alone)

1. n.év
2. n.év
3. n.év
4. n.év

Narrow (stand-alone)

1.
2.
3.
4.

⭐ Eras ⭐

Wide (format)

Krisztus előtt
időszámításunk szerint

Abbreviated (format)

i. e.
i. sz.

Narrow (format)

ie.
isz.

🌈 Date Formats 🌈

Full

2008-02-05T18:30:30 = 2008. február 5., kedd
1995-12-22T09:05:02 = 1995. december 22., péntek
-0010-09-15T04:44:23 = -10. szeptember 15., szombat

Long

2008-02-05T18:30:30 = 2008. február 5.
1995-12-22T09:05:02 = 1995. december 22.
-0010-09-15T04:44:23 = -10. szeptember 15.

Medium

2008-02-05T18:30:30 = 2008. febr. 5.
1995-12-22T09:05:02 = 1995. dec. 22.
-0010-09-15T04:44:23 = -10. szept. 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 = 9:05:02 UTC
-0010-09-15T04:44:23 = 4:44:23 UTC

Long

2008-02-05T18:30:30 = 18: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 = 18:30:30
1995-12-22T09:05:02 = 9:05:02
-0010-09-15T04:44:23 = 4:44:23

Short

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

🔥 Datetime Formats 🔥

Full

2008-02-05T18:30:30 = 2008. február 5., kedd 18:30:30 UTC
1995-12-22T09:05:02 = 1995. december 22., péntek 9:05:02 UTC
-0010-09-15T04:44:23 = -10. szeptember 15., szombat 4:44:23 UTC

Long

2008-02-05T18:30:30 = 2008. február 5. 18:30:30 UTC
1995-12-22T09:05:02 = 1995. december 22. 9:05:02 UTC
-0010-09-15T04:44:23 = -10. szeptember 15. 4:44:23 UTC

Medium

2008-02-05T18:30:30 = 2008. febr. 5. 18:30:30
1995-12-22T09:05:02 = 1995. dec. 22. 9:05:02
-0010-09-15T04:44:23 = -10. szept. 15. 4:44:23

Short

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

👑 Available Formats 👑

okay this next bit is the big one — every named format, with its pattern in parentheses and three worked examples. It's giving "completionist icon". 💅

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 = K
1995-12-22T09:05:02 = P
-0010-09-15T04:44:23 = Szo

EBhm (E B h:mm)

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

EBhms (E B h:mm:ss)

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

EHm (E HH:mm)

2008-02-05T18:30:30 = K 18:30
1995-12-22T09:05:02 = P 09:05
-0010-09-15T04:44:23 = Szo 04:44

EHms (E HH:mm:ss)

2008-02-05T18:30:30 = K 18:30:30
1995-12-22T09:05:02 = P 09:05:02
-0010-09-15T04:44:23 = Szo 04:44:23

Ed (d., E)

2008-02-05T18:30:30 = 5., K
1995-12-22T09:05:02 = 22., P
-0010-09-15T04:44:23 = 15., Szo

Ehm (E h:mm a)

2008-02-05T18:30:30 = K 6:30 du.
1995-12-22T09:05:02 = P 9:05 de.
-0010-09-15T04:44:23 = Szo 4:44 de.

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = K 6:30:30 du.
1995-12-22T09:05:02 = P 9:05:02 de.
-0010-09-15T04:44:23 = Szo 4:44:23 de.

Gy (G y.)

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

GyMMM (G y. MMM)

2008-02-05T18:30:30 = i. sz. 2008. febr.
1995-12-22T09:05:02 = i. sz. 1995. dec.
-0010-09-15T04:44:23 = i. e. -10. szept.

GyMMMEd (G y. MMM d., E)

2008-02-05T18:30:30 = i. sz. 2008. febr. 5., K
1995-12-22T09:05:02 = i. sz. 1995. dec. 22., P
-0010-09-15T04:44:23 = i. e. -10. szept. 15., Szo

GyMMMd (G y. MMM d.)

2008-02-05T18:30:30 = i. sz. 2008. febr. 5.
1995-12-22T09:05:02 = i. sz. 1995. dec. 22.
-0010-09-15T04:44:23 = i. e. -10. szept. 15.

GyMd (GGGGG y. MM. dd.)

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

H (H)

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

Hm (H:mm)

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

Hms (H:mm:ss)

2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 9:05:02
-0010-09-15T04:44:23 = 4: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., K
1995-12-22T09:05:02 = 12. 22., P
-0010-09-15T04:44:23 = 9. 15., Szo

MMM (LLL)

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

MMMEd (MMM d., E)

2008-02-05T18:30:30 = febr. 5., K
1995-12-22T09:05:02 = dec. 22., P
-0010-09-15T04:44:23 = szept. 15., Szo

MMMMW-count-one (MMMM W. 'hete')

2008-02-05T18:30:30 = február 1. hete
1995-12-22T09:05:02 = december 3. hete
-0010-09-15T04:44:23 = szeptember 2. hete

MMMMW-count-other (MMMM W. 'hete')

2008-02-05T18:30:30 = február 1. hete
1995-12-22T09:05:02 = december 3. hete
-0010-09-15T04:44:23 = szeptember 2. hete

MMMMd (MMMM d.)

2008-02-05T18:30:30 = február 5.
1995-12-22T09:05:02 = december 22.
-0010-09-15T04:44:23 = szeptember 15.

MMMd (MMM d.)

2008-02-05T18:30:30 = febr. 5.
1995-12-22T09:05:02 = dec. 22.
-0010-09-15T04:44:23 = szept. 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 = du. 6
1995-12-22T09:05:02 = de. 9
-0010-09-15T04:44:23 = de. 4

hm (a h:mm)

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

hms (a h:mm:ss)

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

hmsv (a h:mm:ss v)

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

hmv (a h:mm v)

2008-02-05T18:30:30 = du. 6:30 UTC
1995-12-22T09:05:02 = de. 9:05 UTC
-0010-09-15T04:44:23 = de. 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

y (y.)

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

yM (y. M.)

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

yMEd (y. MM. dd., E)

2008-02-05T18:30:30 = 2008. 02. 05., K
1995-12-22T09:05:02 = 1995. 12. 22., P
-0010-09-15T04:44:23 = -10. 09. 15., Szo

yMMM (y. MMM)

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

yMMMEd (y. MMM d., E)

2008-02-05T18:30:30 = 2008. febr. 5., K
1995-12-22T09:05:02 = 1995. dec. 22., P
-0010-09-15T04:44:23 = -10. szept. 15., Szo

yMMMM (y. MMMM)

2008-02-05T18:30:30 = 2008. február
1995-12-22T09:05:02 = 1995. december
-0010-09-15T04:44:23 = -10. szeptember

yMMMd (y. MMM d.)

          2008-02-05T18:30:30 = 2008. febr. 5.
          1995-12-22T09:05:02 = 1995. dec. 22.
         -0010-09-15T04:44:23 = -10. szept. 15.

okay that's the tail end of the previous one — bestie, the abbreviations are abbreviation-ing. 🎀


yMd (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.

all-numeric, dotted, zero-padded. it's giving "I have a spreadsheet and I'm not afraid to use it". 📊

yQQQ (y. QQQ) 🌸

          2008-02-05T18:30:30 = 2008. I. n.év
          1995-12-22T09:05:02 = 1995. IV. n.év
         -0010-09-15T04:44:23 = -10. III. n.év

n.év is the short little quarter shorthand — the roman numeral does all the heavy lifting. 💅

yQQQQ (y. QQQQ) 🦋

          2008-02-05T18:30:30 = 2008. I. negyedév
          1995-12-22T09:05:02 = 1995. IV. negyedév
         -0010-09-15T04:44:23 = -10. III. negyedév

same vibe, but the full word negyedév because we're being fancy now. ✨

yw-count-one (Y w. 'hete') 🎀

          2008-02-05T18:30:30 = 2008 6. hete
          1995-12-22T09:05:02 = 1995 51. hete
         -0010-09-15T04:44:23 = -10 37. hete

week-of-year, singular form, no cap. 🗓️

yw-count-other (Y w. 'hete') 🍓

          2008-02-05T18:30:30 = 2008 6. hete
          1995-12-22T09:05:02 = 1995 51. hete
         -0010-09-15T04:44:23 = -10 37. hete

and the plural-ish "other" count version — heads up, the output strings are literally identical to yw-count-one here, so don't @ me, that's just what the data says. 🙈


🌈 Miscellaneous 🌈

Prefers 24 hour time?

Yes 💯

Local first day of the week

1 (hétfő)

so Monday's the main character of the week here, as she should be. 👑


⭐ Strftime Patterns ⭐

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

          2008-02-05T18:30:30 = K febr.  5 18:30:30 2008
          1995-12-22T09:05:02 = P dec. 22 09:05:02 1995
         -0010-09-15T04:44:23 = Szo szept. 15 04:44:23 -10

the whole date and the whole time in one go. yes, notice the double space before the 5 — %e space-pads, it's intentional, leave her alone 😭

%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

month/day/year, slash-separated, two-digit year. -0010 shows up as 10 because it's the last two digits, no cap. 🔥

%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

24-hour clock, colon-colon, clean. no AM/PM in sight, we don't know her. 💀


💖 SUPPORT 💖

See DateTime::Locale.

like, that's the whole support section. iconic brevity, honestly. go read that one. 📚


that's the whole hu locale page, bestie — you ate that. 🎀✨

little sign-off from the source, mwah 💋 — this came from perl v5.42.0, dated 2024-12-12. go forth and format your Hungarian dates flawlessly. 🦋
📦 where this page comes from