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's1kvβ 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 literallyADwhile the first ispr.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
- 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