DateTim...e::hr_BA(3)

🦋 DateTim...e::hr_BA(3) 🦋

User Contributed Perl Documentation — yep, that's the whole header, folded in right here at the top like a little name tag at a party 💖

okay bestie, strap in, because this page is literally just a big ol' data showcase and we're gonna get through every single crumb of it together. 🌸


✨ NAME ✨

DateTime::Locale::hr_BA — locale data examples for the Croatian Bosnia & Herzegovina (hr-BA) locale. It's giving "here's exactly how this locale spells stuff." 🎀


💜 DESCRIPTION 💜

So this pod file is literally a showcase: it's full of examples of the locale data you get for the Croatian Bosnia & Herzegovina locale. Think of it as a lookbook, not a config file — it's showing you what the data looks like, bestie. 💅


🌸 Days 🌸

Wide (format)

ponedjeljak
utorak
srijeda
četvrtak
petak
subota
nedjelja

Abbreviated (format)

pon
uto
sri
čet
pet
sub
ned

Narrow (format)

P
U
S
Č
P
S
N
okay so yes there are two Ps and two Ss up there (hi ponedjeljak/petak and srijeda/subota) — that is not a typo, that's just how narrow it gets. iconique. 💀

Wide (stand-alone)

ponedjeljak
utorak
srijeda
četvrtak
petak
subota
nedjelja

Abbreviated (stand-alone)

pon
uto
sri
čet
pet
sub
ned

Narrow (stand-alone)

P
U
S
Č
P
S
N

🦋 Months 🦋

Wide (format)

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)

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.
lowkey the format months and the stand-alone months are different beasts — format gives you the fancy "siječnja" version, stand-alone gives you "siječanj". both iconic, just different contexts. 🫶

💎 Quarters 💎

Wide (format)

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

Abbreviated (format)

1. kv.
2. kv.
3. kv.
4. kv.

Narrow (format)

1.
2.
3.
4.

Wide (stand-alone)

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

Abbreviated (stand-alone)

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)

pr.n.e.
AD
oh and notice eras only get the format flavors here — no stand-alone variants for years, bestie. periodt. 🎀

💖 Date Formats 💖

Each one is showing three sample datetimes so you can see the pattern, k?

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 = 5. 2. 08.
1995-12-22T09:05:02 = 22. 12. 95.
-0010-09-15T04:44:23 = 15. 9. -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 = 5. 2. 08. 18:30
1995-12-22T09:05:02 = 22. 12. 95. 09:05
-0010-09-15T04:44:23 = 15. 9. -10. 04:44

👑 Available Formats 👑

okay this next bit is the big flex — every named format, with its pattern in parentheses and the three sample outputs. keep up, bestie, we're going all the way. 💅

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.

and bestie that's where this part wraps — the format parade keeps going, so hold that thought, there's more coming 💅✨

yMMM (LLL y.) — short-month + year energy, and here are the exact receipts:

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.) — same vibe, now with the extra pieces:

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.) — the longer-month version, slay:

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.) — day, short month, year, all together:

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.) — numeric little date moment:

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.) — quarter abbreviations, periodt:

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

yQQQQ (QQQQ y.) — full-on quarter word era:

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

and the week-count trio, because bestie we are not skipping a single one:

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 🌸

  • Prefers 24 hour time? Yes.
  • Local first day of the week: 1 (ponedjeljak).

🌈 Strftime Patterns 🌈

  • %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
  • %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 💖

Like, see DateTime::Locale — that's the whole support section, bestie. 🫶


This page is perl v5.42.0, dated 2024-12-12 — mwah, go format some dates 💅✨

📦 where this page comes from