DateTim...ale::hr(3)

πŸ’– NAME πŸ’–

okay so bestie, welcome to DateTime::Locale::hr β€” this is <italic>Locale data examples for the Croatian (hr) locale</italic> 🌸 and yes it's the hr(3) page, a User Contributed Perl Documentation classic, we love a perl manpage moment πŸ’…


✨ DESCRIPTION ✨

This pod file is literally just examples of the locale data you get for the Croatian locale β€” nothing sketchy, just a big gorgeous showcase of every format string and every value, so you can see exactly what Croatian dates and times look like before you commit 😌 no cap, it's giving reference sheet energy and I'm obsessed.


πŸ¦‹ Days πŸ¦‹

Wide (format)

ponedjeljak
utorak
srijeda
četvrtak
petak
subota
nedjelja

Abbreviated (format)

pon
uto
sri
čet
pet
sub
ned

Narrow (format)

one letter each, and yes they're the capitalised ones πŸ’…

P
U
S
Č
P
S
N

Wide (stand-alone)

ponedjeljak
utorak
srijeda
četvrtak
petak
subota
nedjelja

Abbreviated (stand-alone)

pon
uto
sri
čet
pet
sub
ned

Narrow (stand-alone)

and these are the lowercase ones β€” the way they flipped the case from the format set, iconic πŸŽ€

p
u
s
č
p
s
n

🌈 Months 🌈

Wide (format)

these are the "in a sentence" genitive vibes πŸ“

siječnja
veljače
oΕΎujka
travnja
svibnja
lipnja
srpnja
kolovoza
rujna
listopada
studenoga
prosinca

Abbreviated (format)

sij
velj
oΕΎu
tra
svi
lip
srp
kol
ruj
lis
stu
pro

Narrow (format)

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.

Wide (stand-alone)

and here's the nominative era β€” the "just the month name, no context" version ✨

siječanj
veljača
oΕΎujak
travanj
svibanj
lipanj
srpanj
kolovoz
rujan
listopad
studeni
prosinac

Abbreviated (stand-alone)

sij
velj
oΕΎu
tra
svi
lip
srp
kol
ruj
lis
stu
pro

Narrow (stand-alone)

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.

πŸŽ€ Quarters πŸŽ€

Wide (format)

1. kvartal
2. kvartal
3. kvartal
4. kvartal

Abbreviated (format)

1kv
2kv
3kv
4kv

Narrow (format)

1.
2.
3.
4.

Wide (stand-alone)

1. kvartal
2. kvartal
3. kvartal
4. kvartal

Abbreviated (stand-alone)

hiii notice the little dots here πŸ‘€ 1. kv. is not the same string as the format version's 1kv β€” don't merge them, bestie, they're different and they're both valid πŸ’…
1. kv.
2. kv.
3. kv.
4. kv.

Narrow (stand-alone)

1.
2.
3.
4.

πŸ‘‘ Eras πŸ‘‘

Wide (format)

prije Krista
poslije Krista

Abbreviated (format)

pr. Kr.
po. Kr.

Narrow (format)

yes the second one is literally AD while the first is pr.n.e. β€” that's what the data says, I don't make the rules πŸ™ˆ
pr.n.e.
AD

🌸 Date Formats 🌸

Full

2008-02-05T18:30:30 = utorak, 5. veljače 2008.
1995-12-22T09:05:02 = petak, 22. prosinca 1995.
-0010-09-15T04:44:23 = subota, 15. rujna -10.

Long

2008-02-05T18:30:30 = 5. veljače 2008.
1995-12-22T09:05:02 = 22. prosinca 1995.
-0010-09-15T04:44:23 = 15. rujna -10.

Medium

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

Short

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

πŸ’œ 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 = utorak, 5. veljače 2008. 18:30:30 (UTC)
1995-12-22T09:05:02 = petak, 22. prosinca 1995. 09:05:02 (UTC)
-0010-09-15T04:44:23 = subota, 15. rujna -10. 04:44:23 (UTC)

Long

2008-02-05T18:30:30 = 5. veljače 2008. 18:30:30 UTC
1995-12-22T09:05:02 = 22. prosinca 1995. 09:05:02 UTC
-0010-09-15T04:44:23 = 15. rujna -10. 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 5. velj 2008. 18:30:30
1995-12-22T09:05:02 = 22. pro 1995. 09:05:02
-0010-09-15T04:44:23 = 15. ruj -10. 04:44:23

Short

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

🌟 Available Formats 🌟

okay this is the big one bestie β€” every named format key, with its pattern in parentheses, and the three sample timestamps under each. slay πŸ’…

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 = uto
1995-12-22T09:05:02 = pet
-0010-09-15T04:44:23 = sub

EBhm (E h:mm B)

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

EBhms (E h:mm:ss B)

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

EHm (E HH:mm)

2008-02-05T18:30:30 = uto 18:30
1995-12-22T09:05:02 = pet 09:05
-0010-09-15T04:44:23 = sub 04:44

EHms (E HH:mm:ss)

2008-02-05T18:30:30 = uto 18:30:30
1995-12-22T09:05:02 = pet 09:05:02
-0010-09-15T04:44:23 = sub 04:44:23

Ed (E, d.)

2008-02-05T18:30:30 = uto, 5.
1995-12-22T09:05:02 = pet, 22.
-0010-09-15T04:44:23 = sub, 15.

Ehm (E h:mm a)

2008-02-05T18:30:30 = uto 6:30 PM
1995-12-22T09:05:02 = pet 9:05 AM
-0010-09-15T04:44:23 = sub 4:44 AM

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = uto 6:30:30 PM
1995-12-22T09:05:02 = pet 9:05:02 AM
-0010-09-15T04:44:23 = sub 4:44:23 AM

Gy (y. G)

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

GyMMM (LLL y. G)

2008-02-05T18:30:30 = velj 2008. po. Kr.
1995-12-22T09:05:02 = pro 1995. po. Kr.
-0010-09-15T04:44:23 = ruj -10. pr. Kr.

GyMMMEd (E, d. MMM y. G)

2008-02-05T18:30:30 = uto, 5. velj 2008. po. Kr.
1995-12-22T09:05:02 = pet, 22. pro 1995. po. Kr.
-0010-09-15T04:44:23 = sub, 15. ruj -10. pr. Kr.

GyMMMd (d. MMM y. G)

2008-02-05T18:30:30 = 5. velj 2008. po. Kr.
1995-12-22T09:05:02 = 22. pro 1995. po. Kr.
-0010-09-15T04:44:23 = 15. ruj -10. pr. Kr.

GyMd (d. M. y. GGGGG)

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

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, dd. MM.)

2008-02-05T18:30:30 = uto, 05. 02.
1995-12-22T09:05:02 = pet, 22. 12.
-0010-09-15T04:44:23 = sub, 15. 09.

MMM (LLL)

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

MMMEd (E, d. MMM)

2008-02-05T18:30:30 = uto, 5. velj
1995-12-22T09:05:02 = pet, 22. pro
-0010-09-15T04:44:23 = sub, 15. ruj

MMMMEd (E, d. MMMM)

2008-02-05T18:30:30 = uto, 5. veljače
1995-12-22T09:05:02 = pet, 22. prosinca
-0010-09-15T04:44:23 = sub, 15. rujna

MMMMW-count-few (W. 'tjedan' MMMM)

2008-02-05T18:30:30 = 1. tjedan veljače
1995-12-22T09:05:02 = 3. tjedan prosinca
-0010-09-15T04:44:23 = 2. tjedan rujna

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

2008-02-05T18:30:30 = 1. tjedan veljače
1995-12-22T09:05:02 = 3. tjedan prosinca
-0010-09-15T04:44:23 = 2. tjedan rujna

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

2008-02-05T18:30:30 = 1. tjedan veljače
1995-12-22T09:05:02 = 3. tjedan prosinca
-0010-09-15T04:44:23 = 2. tjedan rujna

MMMMd (d. MMMM)

2008-02-05T18:30:30 = 5. veljače
1995-12-22T09:05:02 = 22. prosinca
-0010-09-15T04:44:23 = 15. rujna

MMMd (d. MMM)

2008-02-05T18:30:30 = 5. velj
1995-12-22T09:05:02 = 22. pro
-0010-09-15T04:44:23 = 15. ruj

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 (dd. MM.)

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

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 (hh:mm a)

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

hms (hh:mm:ss a)

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

hmsv (h:mm:ss a v)

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

hmv (h:mm a v)

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)

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 (MM. y.)

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

yMEd (E, dd. MM. y.)

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

yMM (MM. y.)

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

yMMM (LLL y.)

bestie the page cuts off right here mid-list 😭 the examples for this one and everything after it live in the next chunk β€” don't panic, nothing's missing on your end 🫢

yMMM (MMM y.) ✨

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

yMMMEd (E, d. MMM y.) πŸŽ€

2008-02-05T18:30:30 = uto, 5. velj 2008.
1995-12-22T09:05:02 = pet, 22. pro 1995.
-0010-09-15T04:44:23 = sub, 15. ruj -10.

yMMMM (LLLL y.) πŸ’–

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

yMMMd (d. MMM y.) 🌸

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

yMd (dd. MM. y.) πŸ¦‹

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

yQQQ (QQQ y.) ⭐

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

yQQQQ (QQQQ y.) πŸ”₯

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

yw-count-few (w. 'tjedan' 'u' Y.) πŸ‘‘

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

yw-count-one (w. 'tjedan' 'u' Y.) πŸ’…

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

yw-count-other (w. 'tjedan' 'u' Y.) 🫢

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

🌈 Miscellaneous 🌈

Okay so the little leftover settings that don't fit anywhere else β€” they live here.

  • Prefers 24 hour time? β€” Yes πŸ’― (no PM girlies here, we're on that military-clock vibe)
  • Local first day of the week β€” 1 (ponedjeljak) πŸ“… (Monday is the main character, periodt)

πŸ•°οΈ Strftime Patterns πŸ•°οΈ

Not me translating those classic strftime escapes into Croatian realness β€” here's exactly what each one coughs up:

%c (%a %b %e %H:%M:%S %Y) β€” date time format πŸ’œ

2008-02-05T18:30:30 = uto velj  5 18:30:30 2008
1995-12-22T09:05:02 = pet pro 22 09:05:02 1995
-0010-09-15T04:44:23 = sub ruj 15 04:44:23 -10

Yes bestie, those double spaces are real and they're staying β€” do not touch them.

%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 πŸ’«

Need more? Go bother DateTime::Locale β€” that's the whole support situation, fr fr.

See DateTime::Locale.

And that's a wrap, bestie πŸŽ€ This lil' slice of Croatian locale lore shipped with perl v5.42.0 on 2024-12-12 β€” iconic behavior, no notes πŸ’…βœ¨

πŸ“¦ where this page comes from