DateTim...:bs_Latn(3)
β¨ NAME β¨
DateTime::Locale::bs_Latn β the locale data examples for the Bosnian Latin (bs-Latn) locale, bestie π
(this is DateTim...:bs_Latn(3) from the User Contributed Perl Documentation, and yes the title got cropped in your terminal, that's just how it is π«Ά)
π¦ DESCRIPTION π¦
Okay so this pod file is literally a showcase, a little museum exhibit, of the locale data examples you get for the Bosnian Latin locale. Every example below is real, so you can see exactly what output looks like β no guessing, no cap π
πΈ 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
Not the narrow ones being lowercase in stand-alone and uppercase in format π iconic behavior actually.
π 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
π§ 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.
π 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
π₯ 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, buckle up buttercup β every single one, coming right up π Each name comes with its pattern in parentheses, then the three example timestamps.
Bh β pattern h B
2008-02-05T18:30:30 = 6 B
1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B
Bhm β pattern 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 β pattern 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 β pattern ccc
2008-02-05T18:30:30 = uto
1995-12-22T09:05:02 = pet
-0010-09-15T04:44:23 = sub
EBhm β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern E, d.
2008-02-05T18:30:30 = uto, 5.
1995-12-22T09:05:02 = pet, 22.
-0010-09-15T04:44:23 = sub, 15.
Ehm β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern HH
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04
Hm β pattern HH:mm
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
Hms β pattern 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 β pattern 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 β pattern 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 β pattern L
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MEd β pattern 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 β pattern LLL
2008-02-05T18:30:30 = feb
1995-12-22T09:05:02 = dec
-0010-09-15T04:44:23 = sep
MMMEd β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern d. MMMM
2008-02-05T18:30:30 = 5. februar
1995-12-22T09:05:02 = 22. decembar
-0010-09-15T04:44:23 = 15. septembar
MMMd β pattern d. MMM
2008-02-05T18:30:30 = 5. feb
1995-12-22T09:05:02 = 22. dec
-0010-09-15T04:44:23 = 15. sep
MMdd β pattern d. M.
2008-02-05T18:30:30 = 5. 2.
1995-12-22T09:05:02 = 22. 12.
-0010-09-15T04:44:23 = 15. 9.
Md β pattern d. M.
2008-02-05T18:30:30 = 5. 2.
1995-12-22T09:05:02 = 22. 12.
-0010-09-15T04:44:23 = 15. 9.
d β pattern d.
2008-02-05T18:30:30 = 5.
1995-12-22T09:05:02 = 22.
-0010-09-15T04:44:23 = 15.
h β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern 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 β pattern mm:ss
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
y β pattern y.
2008-02-05T18:30:30 = 2008.
1995-12-22T09:05:02 = 1995.
-0010-09-15T04:44:23 = -10.
yM β pattern MM/y
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
yMEd β pattern 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 β pattern M. y.
And that's where part 1 wraps, bestie β more is coming, don't you dare close the tab ππ
β¦and wrapping up that last format from the previous chunk, here's how it renders:
2008-02-05T18:30:30 = 2. 2008.
1995-12-22T09:05:02 = 12. 1995.
-0010-09-15T04:44:23 = 9. -10.
yMMM (MMM y.)
The short-month-plus-year combo, and she is serving efficiency π
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.)
Full weekday, day, short month, year β the whole cast is here, bestie πΈ
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.)
Standalone full month name + year. Long form, zero rushing, main character energy π
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.)
Day, short month, year. Lowkey the workhorse format and it knows it π¦
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.)
Pure numbers, day dot month dot year. The dots are literally the whole vibe β¨
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.)
Abbreviated quarter, aka KV1 through KV4 β quarter girlies rise π
2008-02-05T18:30:30 = KV1 2008.
1995-12-22T09:05:02 = KV4 1995.
-0010-09-15T04:44:23 = KV3 -10.
yQQQQ (QQQQ y.)
Spelled-out quarter. Prvi kvartal means first quarter, and yes she said it in full because she's that icon π
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.
yw-count-few (w. 'sedmica' 'u' Y.)
Week number in year, with the literal quoted text sedmica (week) and u (in) baked into the pattern. The -few in the name means this is the plural form for a few of a thing π
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.)
Same pattern, same output β but this key is the plural-form-for-one variant. Plural rules are a whole personality trait, iykyk π
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.)
And the catch-all other plural form. Identical output here, three separate keys because the grammar said so π
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 π
The little locale facts that live rent-free in here:
- Prefers 24 hour time? Yes β no AM/PM girlies, we do
18:30:30in this house β - Local first day of the week:
1(ponedjeljak) β that's Monday, periodt π«Ά
β¨ STRFTIME PATTERNS β¨
The old-school strftime-style escapes, with their parent patterns spelled out so you know exactly what's inside:
%c (%a %b %e %H:%M:%S %Y) β date time format
The full date-time package deal π₯
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
(Yes, there are two spaces before that 5 β that's %e, don't come for her π)
%x (%m/%d/%y) β date format
Numbers only, slash-separated, two-digit year π
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
Hour, minute, second, colon colon, 24-hour clock, done π
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? See DateTime::Locale. That's the plug, bestie π§
That's the whole page, no cap. This beauty isperl v5.42.0, dated2024-12-12β go forth and format your dates with taste β¨π
π¦ 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