DateTim...ale::bs(3)
π¦ DateTime::Locale::bs π¦
okay so bestie, you found it β the manual page for DateTime::Locale::bs, straight out of the User Contributed Perl Documentation (that's the (3) up in the corner, iykyk). It is literally the Bosnian (bs) locale data, and it's giving reference sheet, not tutorial β every single example of every single format this locale has. Grab a snack π, we're going through all of it, no skips, no "you get the idea".
β¨ NAME β¨
DateTime::Locale::bs β Locale data examples for the Bosnian (bs) locale π
π DESCRIPTION π
This pod file contains examples of the locale data available for the Bosnian locale. That's the whole brief β examples, examples, and more examples π
π 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
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
bestie notice how the format-narrow is all uppercase and the stand-alone-narrow is lowercase β that's not a typo, that's the β¨ data β¨
π¦ Months
Wide (format)
januar
februar
mart
april
maj
juni
juli
august
septembar
oktobar
novembar
decembar
Abbreviated (format)
jan
feb
mar
apr
maj
jun
jul
aug
sep
okt
nov
dec
Narrow (format)
j
f
m
a
m
j
j
a
s
o
n
d
Wide (stand-alone)
januar
februar
mart
april
maj
juni
juli
august
septembar
oktobar
novembar
decembar
Abbreviated (stand-alone)
jan
feb
mar
apr
maj
jun
jul
aug
sep
okt
nov
dec
Narrow (stand-alone)
j
f
m
a
m
j
j
a
s
o
n
d
the narrow ones repeat letters like crazy (m,j,aall show up multiple times) and that's literally fine, it's just how it is π
π Quarters
Wide (format)
Prvi kvartal
Drugi kvartal
TreΔi kvartal
Δetvrti kvartal
Abbreviated (format)
KV1
KV2
KV3
KV4
Narrow (format)
1.
2.
3.
4.
Wide (stand-alone)
Prvi kvartal
Drugi kvartal
TreΔi kvartal
Δetvrti kvartal
Abbreviated (stand-alone)
KV1
KV2
KV3
KV4
Narrow (stand-alone)
1.
2.
3.
4.
β Eras
Wide (format)
prije nove ere
nove ere
Abbreviated (format)
p. n. e.
n. e.
Narrow (format)
p.n.e.
n. e.
yes, the narrow one isp.n.e.with no spaces butn. e.with a space β that asymmetry is real and we respect it π«Ά
π Date Formats
Full
2008-02-05T18:30:30 = utorak, 5. februar 2008.
1995-12-22T09:05:02 = petak, 22. decembar 1995.
-0010-09-15T04:44:23 = subota, 15. septembar -10.
Long
2008-02-05T18:30:30 = 5. februar 2008.
1995-12-22T09:05:02 = 22. decembar 1995.
-0010-09-15T04:44:23 = 15. septembar -10.
Medium
2008-02-05T18:30:30 = 5. feb 2008.
1995-12-22T09:05:02 = 22. dec 1995.
-0010-09-15T04:44:23 = 15. sep -10.
Short
2008-02-05T18:30:30 = 5. 2. 2008.
1995-12-22T09:05:02 = 22. 12. 1995.
-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
Full and Long are literally identical here, and Medium and Short drop the UTC β that's not me being lazy, that's just the vibe of the data π₯
π§ Datetime Formats
Full
2008-02-05T18:30:30 = utorak, 5. februar 2008., 18:30:30 UTC
1995-12-22T09:05:02 = petak, 22. decembar 1995., 09:05:02 UTC
-0010-09-15T04:44:23 = subota, 15. septembar -10., 04:44:23 UTC
Long
2008-02-05T18:30:30 = 5. februar 2008., 18:30:30 UTC
1995-12-22T09:05:02 = 22. decembar 1995., 09:05:02 UTC
-0010-09-15T04:44:23 = 15. septembar -10., 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 5. feb 2008. 18:30:30
1995-12-22T09:05:02 = 22. dec 1995. 09:05:02
-0010-09-15T04:44:23 = 15. sep -10. 04:44:23
Short
2008-02-05T18:30:30 = 5. 2. 2008. 18:30
1995-12-22T09:05:02 = 22. 12. 1995. 09:05
-0010-09-15T04:44:23 = 15. 9. -10. 04:44
π Available Formats
okay this is the big one, bestie β every named pattern with its three example outputs. Deep breath π
π« 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 p. m.
1995-12-22T09:05:02 = pet 9:05 a. m.
-0010-09-15T04:44:23 = sub 4:44 a. m.
π« Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = uto 6:30:30 p. m.
1995-12-22T09:05:02 = pet 9:05:02 a. m.
-0010-09-15T04:44:23 = sub 4:44:23 a. m.
π« Gy (y. G)
2008-02-05T18:30:30 = 2008. n. e.
1995-12-22T09:05:02 = 1995. n. e.
-0010-09-15T04:44:23 = -10. p. n. e.
π« GyMMM (MMM y. G)
2008-02-05T18:30:30 = feb 2008. n. e.
1995-12-22T09:05:02 = dec 1995. n. e.
-0010-09-15T04:44:23 = sep -10. p. n. e.
π« GyMMMEd (E, d. MMM y. G)
2008-02-05T18:30:30 = uto, 5. feb 2008. n. e.
1995-12-22T09:05:02 = pet, 22. dec 1995. n. e.
-0010-09-15T04:44:23 = sub, 15. sep -10. p. n. e.
π« GyMMMd (d. MMM y. G)
2008-02-05T18:30:30 = 5. feb 2008. n. e.
1995-12-22T09:05:02 = 22. dec 1995. n. e.
-0010-09-15T04:44:23 = 15. sep -10. p. n. e.
π« GyMd (d. M. y. G)
2008-02-05T18:30:30 = 5. 2. 2008. n. e.
1995-12-22T09:05:02 = 22. 12. 1995. n. e.
-0010-09-15T04:44:23 = 15. 9. -10. p. 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, d. M.)
2008-02-05T18:30:30 = uto, 5. 2.
1995-12-22T09:05:02 = pet, 22. 12.
-0010-09-15T04:44:23 = sub, 15. 9.
π« MMM (LLL)
2008-02-05T18:30:30 = feb
1995-12-22T09:05:02 = dec
-0010-09-15T04:44:23 = sep
π« MMMEd (E, d. MMM)
2008-02-05T18:30:30 = uto, 5. feb
1995-12-22T09:05:02 = pet, 22. dec
-0010-09-15T04:44:23 = sub, 15. sep
π« MMMMEd (E, d. MMMM)
2008-02-05T18:30:30 = uto, 5. februar
1995-12-22T09:05:02 = pet, 22. decembar
-0010-09-15T04:44:23 = sub, 15. septembar
π« MMMMW-count-few (W. 'sedmica' 'mjesec' MMMM)
2008-02-05T18:30:30 = 1. sedmica mjesec februar
1995-12-22T09:05:02 = 3. sedmica mjesec decembar
-0010-09-15T04:44:23 = 2. sedmica mjesec septembar
π« MMMMW-count-one (W. 'sedmica' 'mjesec' MMMM)
2008-02-05T18:30:30 = 1. sedmica mjesec februar
1995-12-22T09:05:02 = 3. sedmica mjesec decembar
-0010-09-15T04:44:23 = 2. sedmica mjesec septembar
π« MMMMW-count-other (W. 'sedmica' 'mjesec' MMMM)
2008-02-05T18:30:30 = 1. sedmica mjesec februar
1995-12-22T09:05:02 = 3. sedmica mjesec decembar
-0010-09-15T04:44:23 = 2. sedmica mjesec septembar
π« MMMMd (d. MMMM)
2008-02-05T18:30:30 = 5. februar
1995-12-22T09:05:02 = 22. decembar
-0010-09-15T04:44:23 = 15. septembar
π« MMMd (d. MMM)
2008-02-05T18:30:30 = 5. feb
1995-12-22T09:05:02 = 22. dec
-0010-09-15T04:44:23 = 15. sep
π« MMdd (d. M.)
2008-02-05T18:30:30 = 5. 2.
1995-12-22T09:05:02 = 22. 12.
-0010-09-15T04:44:23 = 15. 9.
π« Md (d. M.)
2008-02-05T18:30:30 = 5. 2.
1995-12-22T09:05:02 = 22. 12.
-0010-09-15T04:44:23 = 15. 9.
π« 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 p. m.
1995-12-22T09:05:02 = 9 a. m.
-0010-09-15T04:44:23 = 4 a. m.
π« hm (hh:mm a)
2008-02-05T18:30:30 = 06:30 p. m.
1995-12-22T09:05:02 = 09:05 a. m.
-0010-09-15T04:44:23 = 04:44 a. m.
π« hms (hh:mm:ss a)
2008-02-05T18:30:30 = 06:30:30 p. m.
1995-12-22T09:05:02 = 09:05:02 a. m.
-0010-09-15T04:44:23 = 04:44:23 a. m.
π« hmsv (h:mm:ss a (v))
2008-02-05T18:30:30 = 6:30:30 p. m. (UTC)
1995-12-22T09:05:02 = 9:05:02 a. m. (UTC)
-0010-09-15T04:44:23 = 4:44:23 a. m. (UTC)
π« hmv (h:mm a (v))
2008-02-05T18:30:30 = 6:30 p. m. (UTC)
1995-12-22T09:05:02 = 9:05 a. m. (UTC)
-0010-09-15T04:44:23 = 4:44 a. m. (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, d. M. y.)
2008-02-05T18:30:30 = uto, 5. 2. 2008.
1995-12-22T09:05:02 = pet, 22. 12. 1995.
-0010-09-15T04:44:23 = sub, 15. 9. -10.
π« yMM (M. y.)
yMMM (MMM y.)
2008-02-05T18:30:30 = feb 2008.
1995-12-22T09:05:02 = dec 1995.
-0010-09-15T04:44:23 = sep -10.
yMMMEd (E, d. MMM y.)
2008-02-05T18:30:30 = uto, 5. feb 2008.
1995-12-22T09:05:02 = pet, 22. dec 1995.
-0010-09-15T04:44:23 = sub, 15. sep -10.
yMMMM (LLLL y.)
2008-02-05T18:30:30 = februar 2008.
1995-12-22T09:05:02 = decembar 1995.
-0010-09-15T04:44:23 = septembar -10.
yMMMd (d. MMM y.)
2008-02-05T18:30:30 = 5. feb 2008.
1995-12-22T09:05:02 = 22. dec 1995.
-0010-09-15T04:44:23 = 15. sep -10.
yMd (d. M. y.)
2008-02-05T18:30:30 = 5. 2. 2008.
1995-12-22T09:05:02 = 22. 12. 1995.
-0010-09-15T04:44:23 = 15. 9. -10.
yQQQ (QQQ y.)
2008-02-05T18:30:30 = KV1 2008.
1995-12-22T09:05:02 = KV4 1995.
-0010-09-15T04:44:23 = KV3 -10.
yQQQQ (QQQQ y.)
2008-02-05T18:30:30 = Prvi kvartal 2008.
1995-12-22T09:05:02 = Δetvrti kvartal 1995.
-0010-09-15T04:44:23 = TreΔi kvartal -10.
okay bestie, quick heads up before the next three: these ones are literally the same output for all three count variants π β few, one and other all land on the identical string. That's not a typo on my end, that's just how it do. Don't @ me.
yw-count-few (w. 'sedmica' 'u' Y.)
2008-02-05T18:30:30 = 6. sedmica u 2008.
1995-12-22T09:05:02 = 51. sedmica u 1995.
-0010-09-15T04:44:23 = 37. sedmica u -10.
yw-count-one (w. 'sedmica' 'u' Y.)
2008-02-05T18:30:30 = 6. sedmica u 2008.
1995-12-22T09:05:02 = 51. sedmica u 1995.
-0010-09-15T04:44:23 = 37. sedmica u -10.
yw-count-other (w. 'sedmica' 'u' Y.)
2008-02-05T18:30:30 = 6. sedmica u 2008.
1995-12-22T09:05:02 = 51. sedmica u 1995.
-0010-09-15T04:44:23 = 37. sedmica u -10.
β¨ Miscellaneous β¨
just the two lil settings, no biggie πΈ
- Prefers 24 hour time? β Yes
- Local first day of the week β
1(ponedjeljak)
π Strftime Patterns
the classic C-library-style patterns, serving looks as always π
%c (%a %b %e %H:%M:%S %Y) β date time format
2008-02-05T18:30:30 = uto feb 5 18:30:30 2008
1995-12-22T09:05:02 = pet dec 22 09:05:02 1995
-0010-09-15T04:44:23 = sub sep 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
See DateTime::Locale. that's the whole thing, bestie β go touch grass (or go read that module, same energy) π¦
and that's a wrap on the page, periodt π it's perl v5.42.0, dated 2024-12-12, and it's DateTim...ale::bs(3) β the truncated-name realness is iconic, truly a main character entry. mwah π
π¦ 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