DateTim...ale::hsb(3)

✨ DateTime::Locale::hsb(3) ✨

okay bestie, so this is from the User Contributed Perl Documentation corner of the man-page universe, and it's literally the glow-up guide to the Upper Sorbian (hsb) locale 💅


💖 NAME 💖

DateTime::Locale::hsb — locale data examples for the Upper Sorbian (hsb) locale 🦋


🌸 DESCRIPTION 🌸

This pod file is basically a show-and-tell of the locale data you get for the Upper Sorbian locale — every day name, month name, quarter, era and format string, all laid out with examples. No cap, it's a whole vibe check for the hsb locale 💜

🎀 Days

Wide (format)

póndźela
wutora
srjeda
štwórtk
pjatk
sobota
njedźela

Abbreviated (format)

pón
wut
srj
štw
pja
sob
nje

Narrow (format)

p
w
s
š
p
s
n

Wide (stand-alone)

póndźela
wutora
srjeda
štwórtk
pjatk
sobota
njedźela

Abbreviated (stand-alone)

pón
wut
srj
štw
pja
sob
nje

Narrow (stand-alone)

p
w
s
š
p
s
n

🦋 Months

Wide (format)

januara
februara
měrca
apryla
meje
junija
julija
awgusta
septembra
oktobra
nowembra
decembra

Abbreviated (format)

jan.
feb.
měr.
apr.
mej.
jun.
jul.
awg.
sep.
okt.
now.
dec.

Narrow (format)

j
f
m
a
m
j
j
a
s
o
n
d

Wide (stand-alone)

januar
februar
měrc
apryl
meja
junij
julij
awgust
september
oktober
nowember
december

Abbreviated (stand-alone)

jan
feb
měr
apr
mej
jun
jul
awg
sep
okt
now
dec

Narrow (stand-alone)

j
f
m
a
m
j
j
a
s
o
n
d

💅 Quarters

Wide (format)

1. kwartal
2. kwartal
3. kwartal
4. kwartal

Abbreviated (format)

kw1
kw2
kw3
kw4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1. kwartal
2. kwartal
3. kwartal
4. kwartal

Abbreviated (stand-alone)

kw1
kw2
kw3
kw4

Narrow (stand-alone)

1
2
3
4

👑 Eras

Wide (format)

před Chrystowym narodźenjom
po Chrystowym narodźenju

Abbreviated (format)

př.Chr.n.
po Chr.n.

Narrow (format)

př.Chr.n.
po Chr.n.

🍓 Date Formats

Full

2008-02-05T18:30:30 = wutora, 5. februara 2008
1995-12-22T09:05:02 = pjatk, 22. decembra 1995
-0010-09-15T04:44:23 = sobota, 15. septembra -10

Long

2008-02-05T18:30:30 = 5. februara 2008
1995-12-22T09:05:02 = 22. decembra 1995
-0010-09-15T04:44:23 = 15. septembra -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.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 = 9:05:02 UTC
-0010-09-15T04:44:23 = 4:44:23 UTC

Long

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

Medium

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

Short

2008-02-05T18:30:30 = 18:30 hodź.
1995-12-22T09:05:02 = 9:05 hodź.
-0010-09-15T04:44:23 = 4:44 hodź.

🌈 Datetime Formats

Full

2008-02-05T18:30:30 = wutora, 5. februara 2008 18:30:30 UTC
1995-12-22T09:05:02 = pjatk, 22. decembra 1995 9:05:02 UTC
-0010-09-15T04:44:23 = sobota, 15. septembra -10 4:44:23 UTC

Long

2008-02-05T18:30:30 = 5. februara 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22. decembra 1995 9:05:02 UTC
-0010-09-15T04:44:23 = 15. septembra -10 4:44:23 UTC

Medium

2008-02-05T18:30:30 = 5.2.2008 18:30:30
1995-12-22T09:05:02 = 22.12.1995 9:05:02
-0010-09-15T04:44:23 = 15.9.-10 4:44:23

Short

2008-02-05T18:30:30 = 5.2.08 18:30 hodź.
1995-12-22T09:05:02 = 22.12.95 9:05 hodź.
-0010-09-15T04:44:23 = 15.9.-10 4:44 hodź.

🧚 Available Formats

okay here come the named format patterns, each one with its own little three-date demo. 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 = wut
1995-12-22T09:05:02 = pja
-0010-09-15T04:44:23 = sob

EBhm (E h:mm B)

2008-02-05T18:30:30 = wut 6:30 B
1995-12-22T09:05:02 = pja 9:05 B
-0010-09-15T04:44:23 = sob 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = wut 6:30:30 B
1995-12-22T09:05:02 = pja 9:05:02 B
-0010-09-15T04:44:23 = sob 4:44:23 B

EHm (E, H:mm 'hodź'.)

2008-02-05T18:30:30 = wut, 18:30 hodź.
1995-12-22T09:05:02 = pja, 9:05 hodź.
-0010-09-15T04:44:23 = sob, 4:44 hodź.

EHms (E, HH:mm:ss)

2008-02-05T18:30:30 = wut, 18:30:30
1995-12-22T09:05:02 = pja, 09:05:02
-0010-09-15T04:44:23 = sob, 04:44:23

Ed (E, d.)

2008-02-05T18:30:30 = wut, 5.
1995-12-22T09:05:02 = pja, 22.
-0010-09-15T04:44:23 = sob, 15.

Ehm (E, h:mm a)

2008-02-05T18:30:30 = wut, 6:30 pop.
1995-12-22T09:05:02 = pja, 9:05 dop.
-0010-09-15T04:44:23 = sob, 4:44 dop.

Ehms (E, h:mm:ss a)

2008-02-05T18:30:30 = wut, 6:30:30 pop.
1995-12-22T09:05:02 = pja, 9:05:02 dop.
-0010-09-15T04:44:23 = sob, 4:44:23 dop.

Gy (y G)

2008-02-05T18:30:30 = 2008 po Chr.n.
1995-12-22T09:05:02 = 1995 po Chr.n.
-0010-09-15T04:44:23 = -10 př.Chr.n.

GyMMM (MMM y G)

2008-02-05T18:30:30 = feb. 2008 po Chr.n.
1995-12-22T09:05:02 = dec. 1995 po Chr.n.
-0010-09-15T04:44:23 = sep. -10 př.Chr.n.

GyMMMEd (E, d. MMM y G)

2008-02-05T18:30:30 = wut, 5. feb. 2008 po Chr.n.
1995-12-22T09:05:02 = pja, 22. dec. 1995 po Chr.n.
-0010-09-15T04:44:23 = sob, 15. sep. -10 př.Chr.n.

GyMMMd (d. MMM y G)

2008-02-05T18:30:30 = 5. feb. 2008 po Chr.n.
1995-12-22T09:05:02 = 22. dec. 1995 po Chr.n.
-0010-09-15T04:44:23 = 15. sep. -10 př.Chr.n.

GyMd (d.M.y GGGGG)

2008-02-05T18:30:30 = 5.2.2008 po Chr.n.
1995-12-22T09:05:02 = 22.12.1995 po Chr.n.
-0010-09-15T04:44:23 = 15.9.-10 př.Chr.n.

H (H 'hodź'.)

2008-02-05T18:30:30 = 18 hodź.
1995-12-22T09:05:02 = 9 hodź.
-0010-09-15T04:44:23 = 4 hodź.

Hm (H:mm 'hodź'.)

2008-02-05T18:30:30 = 18:30 hodź.
1995-12-22T09:05:02 = 9:05 hodź.
-0010-09-15T04:44:23 = 4:44 hodź.

Hms (H:mm:ss)

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

Hmsv (H:mm:ss v)

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

Hmv (H:mm v)

2008-02-05T18:30:30 = 18:30 UTC
1995-12-22T09:05:02 = 9:05 UTC
-0010-09-15T04:44:23 = 4: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 = wut, 5.2.
1995-12-22T09:05:02 = pja, 22.12.
-0010-09-15T04:44:23 = sob, 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 = wut, 5. feb.
1995-12-22T09:05:02 = pja, 22. dec.
-0010-09-15T04:44:23 = sob, 15. sep.

MMMMW-count-few (W. 'tydźeń' MMMM)

2008-02-05T18:30:30 = 1. tydźeń februara
1995-12-22T09:05:02 = 3. tydźeń decembra
-0010-09-15T04:44:23 = 2. tydźeń septembra

MMMMW-count-one (W. 'tydźeń' MMMM)

2008-02-05T18:30:30 = 1. tydźeń februara
1995-12-22T09:05:02 = 3. tydźeń decembra
-0010-09-15T04:44:23 = 2. tydźeń septembra

MMMMW-count-other (W. 'tydźeń' MMMM)

2008-02-05T18:30:30 = 1. tydźeń februara
1995-12-22T09:05:02 = 3. tydźeń decembra
-0010-09-15T04:44:23 = 2. tydźeń septembra

MMMMW-count-two (W. 'tydźeń' MMMM)

2008-02-05T18:30:30 = 1. tydźeń februara
1995-12-22T09:05:02 = 3. tydźeń decembra
-0010-09-15T04:44:23 = 2. tydźeń septembra

MMMMd (d. MMMM)

2008-02-05T18:30:30 = 5. februara
1995-12-22T09:05:02 = 22. decembra
-0010-09-15T04:44:23 = 15. septembra

MMMd (d. MMM)

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

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 pop.
1995-12-22T09:05:02 = 9 dop.
-0010-09-15T04:44:23 = 4 dop.

hm (h:mm a)

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

hms (h:mm:ss a)

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

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 pop. UTC
1995-12-22T09:05:02 = 9:05:02 dop. UTC
-0010-09-15T04:44:23 = 4:44:23 dop. UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 pop. UTC
1995-12-22T09:05:02 = 9:05 dop. UTC
-0010-09-15T04:44:23 = 4:44 dop. 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 = wut, 5.2.2008
1995-12-22T09:05:02 = pja, 22.12.1995
-0010-09-15T04:44:23 = sob, 15.9.-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)

(and this is exactly where part 1 runs out — the examples pick right back up in part 2 💫)

...and the pattern parade keeps going, no interruptions, just vibes 💅

          2008-02-05T18:30:30 = wut, 5. feb. 2008
          1995-12-22T09:05:02 = pja, 22. dec. 1995
         -0010-09-15T04:44:23 = sob, 15. sep. -10

Next up, yMMMM (LLLL y) — month-name-plus-year, standalone month flex 🌸

          2008-02-05T18:30:30 = februar 2008
          1995-12-22T09:05:02 = december 1995
         -0010-09-15T04:44:23 = september -10

yMMMd (d. MMM y) — the day-first, abbreviated-month classic:

          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) — all numbers, all dots, zero notes 🎀

          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) — quarter o'clock, abbreviated 💫

          2008-02-05T18:30:30 = kw1 2008
          1995-12-22T09:05:02 = kw4 1995
         -0010-09-15T04:44:23 = kw3 -10

yQQQQ (QQQQ y) — same quarter energy but spelled all the way out:

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

Then the week-count girlies 👑 — four of them, few, one, other, two, and yeah they all print the exact same thing, that's not a typo, that's just how it is:

yw-count-few (w. 'tydźeń' 'lěta' Y)

          2008-02-05T18:30:30 = 6. tydźeń lěta 2008
          1995-12-22T09:05:02 = 51. tydźeń lěta 1995
         -0010-09-15T04:44:23 = 37. tydźeń lěta -10

yw-count-one (w. 'tydźeń' 'lěta' Y)

          2008-02-05T18:30:30 = 6. tydźeń lěta 2008
          1995-12-22T09:05:02 = 51. tydźeń lěta 1995
         -0010-09-15T04:44:23 = 37. tydźeń lěta -10

yw-count-other (w. 'tydźeń' 'lěta' Y)

          2008-02-05T18:30:30 = 6. tydźeń lěta 2008
          1995-12-22T09:05:02 = 51. tydźeń lěta 1995
         -0010-09-15T04:44:23 = 37. tydźeń lěta -10

yw-count-two (w. 'tydźeń' 'lěta' Y)

          2008-02-05T18:30:30 = 6. tydźeń lěta 2008
          1995-12-22T09:05:02 = 51. tydźeń lěta 1995
         -0010-09-15T04:44:23 = 37. tydźeń lěta -10

🌈 Miscellaneous 🌈

The little settings that shape everything else, bestie:

  • Prefers 24 hour time? Yes 🕰️ (no am/pm chaos here, we're not doing that)
  • Local first day of the week 1 (póndźela) — Monday's the main character, as she should be 💅

⭐ Strftime Patterns ⭐

Okay so this is the part where the old-school strftime-style patterns get their moment. Three of them, all iconic:

%c (%a %b %e %H:%M:%S %Y) — date time format

          2008-02-05T18:30:30 = wut feb.  5 18:30:30 2008
          1995-12-22T09:05:02 = pja dec. 22 09:05:02 1995
         -0010-09-15T04:44:23 = sob sep. 15 04:44:23 -10

(Yes there's a double space before that 5 and that 22 — that's %e, she pads, we love her 🫶)

%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 literally it, that's the whole support section — everything else lives over there, go say hi ✨


And that's a wrap on this one, bestie 🎀 this page is from perl v5.42.0, dated 2024-12-12, and the header you scrolled past at the top was the ever-slightly-truncated DateTim...ale::hsb(3). Go format something cute 💖
📦 where this page comes from