DateTim...:sr_Latn(3)

πŸ’– NAME πŸ’–

DateTime::Locale::sr_Latn β€” that's the whole vibe, bestie. It's locale data examples for the Serbian Latin (sr-Latn) locale, and it lives in the User Contributed Perl Documentation corner of the manual (3), iykyk.

🌸 DESCRIPTION 🌸

This pod file is literally a showcase β€” it's packed with examples of all the locale data you get for the Serbian Latin locale. Every single one of them is below, no skips, no "you get the idea" πŸ’…


πŸ—“οΈ Days

✨ Wide (format)

ponedeljak
utorak
sreda
četvrtak
petak
subota
nedelja

✨ Abbreviated (format)

pon
uto
sre
č
et
pet
sub
ned

✨ Narrow (format)

p
u
s
č
p
s
n
not me spotting that p and s each show up twice in there 😭 that's just the data, not a glitch, don't come for me.

✨ Wide (stand-alone)

ponedeljak
utorak
sreda
četvrtak
petak
subota
nedelja

✨ Abbreviated (stand-alone)

pon
uto
sre
č
et
pet
sub
ned

✨ Narrow (stand-alone)

p
u
s
č
p
s
n

πŸ¦‹ Months

✨ Wide (format)

januar
februar
mart
april
maj
jun
jul
avgust
septembar
oktobar
novembar
decembar

✨ Abbreviated (format)

jan
feb
mar
apr
maj
jun
jul
avg
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
jun
jul
avgust
septembar
oktobar
novembar
decembar

✨ Abbreviated (stand-alone)

jan
feb
mar
apr
maj
jun
jul
avg
sep
okt
nov
dec

✨ Narrow (stand-alone)

j
f
m
a
m
j
j
a
s
o
n
d
the narrow months are giving "single letter era" and yeah, j, m, and a are all out here living their duplicate truth πŸ™ˆ iconic behaviour.

πŸŽ€ Quarters

✨ Wide (format)

prvi kvartal
drugi kvartal
treći kvartal
četvrti kvartal

✨ Abbreviated (format)

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

✨ Narrow (format)

1.
2.
3.
4.

✨ Wide (stand-alone)

prvi kvartal
drugi kvartal
treći kvartal
četvrti kvartal

✨ Abbreviated (stand-alone)

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

✨ Narrow (stand-alone)

1.
2.
3.
4.

πŸ‘‘ Eras

✨ Wide (format)

pre nove ere
nove ere

✨ Abbreviated (format)

p. n. e.
n. e.

✨ Narrow (format)

p.n.e.
n.e.
eras get format only β€” no stand-alone versions here, and that's the whole list, periodt.

πŸ’œ 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. 2. 2008.
1995-12-22T09:05:02 = 22. 12. 1995.
-0010-09-15T04:44:23 = 15. 9. -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.
yes bestie, Medium and Short are literally twinning here β€” that's what the data says, I don't make the rules πŸ’…

⏰ 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. 2. 2008. 18:30:30
1995-12-22T09:05:02 = 22. 12. 1995. 09:05:02
-0010-09-15T04:44:23 = 15. 9. -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 next bit is the big one β€” every available format, with its three test timestamps so you can see exactly what it spits out. grab a snack πŸ“

πŸ’« 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 (hh:mm B)

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

πŸ’« Bhms (hh:mm:ss B)

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

πŸ’« E (E)

2008-02-05T18:30:30 = uto
1995-12-22T09:05:02 = pet
-0010-09-15T04:44:23 = sub
just the day, no crumbs πŸ’…

πŸ’« 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, hh:mm:ss B)

2008-02-05T18:30:30 = uto, 06:30:30 B
1995-12-22T09:05:02 = pet, 09:05:02 B
-0010-09-15T04:44:23 = sub, 04: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. 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.MM.y. GGGGG)

2008-02-05T18:30:30 = 5.02.2008. n.e.
1995-12-22T09:05:02 = 22.12.1995. n.e.
-0010-09-15T04:44:23 = 15.09.-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 (MMMM: W. 'nedelja')

2008-02-05T18:30:30 = februar: 1. nedelja
1995-12-22T09:05:02 = decembar: 3. nedelja
-0010-09-15T04:44:23 = septembar: 2. nedelja

πŸ’« MMMMW-count-one (MMMM: W. 'nedelja')

2008-02-05T18:30:30 = februar: 1. nedelja
1995-12-22T09:05:02 = decembar: 3. nedelja
-0010-09-15T04:44:23 = septembar: 2. nedelja

πŸ’« MMMMW-count-other (MMMM: W. 'nedelja')

2008-02-05T18:30:30 = februar: 1. nedelja
1995-12-22T09:05:02 = decembar: 3. nedelja
-0010-09-15T04:44:23 = septembar: 2. nedelja
the three MMMMW-count-* variants are all giving the same output here, and honestly? consistency queen 🫢

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

πŸ’« MMMdd (dd.MMM)

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

πŸ’« 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 (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 PM
1995-12-22T09:05:02 = 9 AM
-0010-09-15T04:44:23 = 4 AM

πŸ’« hm (h:mm a)

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

πŸ’« hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4: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 (M. y.)

2008-02-05T18:30:30 = 2. 2008.
1995-12-22T09:05:02 = 12. 1995.
-0010-09-15T04:44:23 = 9. -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 (MM.y.)

Finishing off the last one from before the page break β€” its example values land right here πŸ‘‡

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

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 (MMMM 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.

yMMdd (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.

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 = 1. kv. 2008.
1995-12-22T09:05:02 = 4. kv. 1995.
-0010-09-15T04:44:23 = 3. kv. -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.

yw-count-few (w. 'nedelja' 'u' Y.)

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

yw-count-one (w. 'nedelja' 'u' Y.)

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

yw-count-other (w. 'nedelja' 'u' Y.)

2008-02-05T18:30:30 = 6. nedelja u 2008.
1995-12-22T09:05:02 = 51. nedelja u 1995.
-0010-09-15T04:44:23 = 37. nedelja u -10.
ok bestie real talk β€” the -count-few, -count-one and -count-other versions are all printing the exact same thing on this page. That's what's written, that's what I'm giving you, no edits πŸ’…

πŸŽ€ Miscellaneous

Does it stan 24-hour time? Yes β€” military time girlies rise 🫢

Local first day of the week: 1 (ponedeljak) β€” Monday main character energy ✨


🌸 Strftime Patterns

%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

(yes, that's a double space before the 5 β€” that's %e, it does that, leave it alone 😌)

%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

Where do you go when you need more? Straight to DateTime::Locale, obviously. That's the whole support section, bestie β€” see DateTime::Locale. πŸ¦‹


aaaand that's the whole page, you made it to the end, I'm so proud of you πŸ˜­πŸ’– this was pulled from perl v5.42.0, dated 2024-12-12, and it's the DateTim...:sr_Latn(3) page β€” Serbian Latin locale data, fully served, no crumbs left. go format some dates, you absolute icon πŸŽ€βœ¨

πŸ“¦ where this page comes from