DateTim...ale::cs(3)

🎀 DateTime::Locale::cs(3) 🎀

okay so first things first: this page is officially filed under User Contributed Perl Documentation, and it's the manual for DateTime::Locale::cs — the Czech locale data. bestie, this is a data page, not a "run this command" page. it's literally the receipts of how Czech dates and times get formatted. and we're doing it in two parts because there is so much. buckle up. 🦋


✨ NAME ✨

DateTime::Locale::cs — locale data examples for the Czech (cs) locale. that's it, that's the whole name, no notes. 👑


🌸 DESCRIPTION 🌸

so this pod file contains examples of the locale data available for the Czech locale. it's giving "here's exactly what every format looks like, no guessing." we love a reference page that just shows you. 💅

and yes — everything below is the actual data, so if you're looking for how Czech handles your weekday names or your n. l. vs př. n. l., it's all here. iykyk.


🗓️ Days

Wide (format)

the full formal weekday names, in order starting from Monday:

pondělí
úterý
středa
čtvrtek
pátek
sobota
neděle

seven days, all accounted for. 🫶

Abbreviated (format)

the two-letter club:

po
út
st
čt
pá
so
ne

Narrow (format)

the single-letter era, and yes there are dupes — two Ps and two Ss in there, which is iconic of narrow widths everywhere:

P
Ú
S
Č
P
S
N

Wide (stand-alone)

stand-alone wide. same as the format version, because Czech said "why would i change":

pondělí
úterý
středa
čtvrtek
pátek
sobota
neděle

Abbreviated (stand-alone)

po
út
st
čt
pá
so
ne

Narrow (stand-alone)

P
Ú
S
Č
P
S
N

🌙 Months

Wide (format)

the genitive-ish "in the month of" forms — these are the ones that show up inside a full date:

ledna
února
března
dubna
května
června
července
srpna
září
října
listopadu
prosince

Abbreviated (format)

led
úno
bře
dub
kvě
čvn
čvc
srp
zář
říj
lis
pro

Narrow (format)

pure numbers, 1 through 12, no cap:

1
2
3
4
5
6
7
8
9
10
11
12

Wide (stand-alone)

the nominative forms, the ones that stand on their own:

leden
únor
březen
duben
květen
červen
červenec
srpen
září
říjen
listopad
prosinec

Abbreviated (stand-alone)

led
úno
bře
dub
kvě
čvn
čvc
srp
zář
říj
lis
pro

Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12

🧚 Quarters

Wide (format)

1. čtvrtletí
2. čtvrtletí
3. čtvrtletí
4. čtvrtletí

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1. čtvrtletí
2. čtvrtletí
3. čtvrtletí
4. čtvrtletí

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

👑 Eras

Wide (format)

before-common-era and common-era, the long way:

před naším letopočtem
našeho letopočtu

Abbreviated (format)

př. n. l.
n. l.

Narrow (format)

the tiny version, no spaces, all business:

př.n.l.
n.l.

💜 Date Formats

Full

2008-02-05T18:30:30 = úterý 5. února 2008
1995-12-22T09:05:02 = pátek 22. prosince 1995
-0010-09-15T04:44:23 = sobota 15. září -10

Long

2008-02-05T18:30:30 = 5. února 2008
1995-12-22T09:05:02 = 22. prosince 1995
-0010-09-15T04:44:23 = 15. září -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

all the numbers, minimal vibes:

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

⏰ Time Formats

Full

note the comma before UTC here, bestie, details matter:

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

comma gone, UTC stays:

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

no timezone at all, just the clock:

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

hour and minute, that's the whole meal:

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

🌈 Datetime Formats

Full

date and time, holding hands:

2008-02-05T18:30:30 = úterý 5. února 2008 18:30:30, UTC
1995-12-22T09:05:02 = pátek 22. prosince 1995 9:05:02, UTC
-0010-09-15T04:44:23 = sobota 15. září -10 4:44:23, UTC

Long

2008-02-05T18:30:30 = 5. února 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22. prosince 1995 9:05:02 UTC
-0010-09-15T04:44:23 = 15. září -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 = 05.02.08 18:30
1995-12-22T09:05:02 = 22.12.95 9:05
-0010-09-15T04:44:23 = 15.09.-10 4:44

🔥 Available Formats 🔥

okay this is the big one. each little block below is a named format — the little code in the heading is the pattern that goes with it, and the three lines are what that pattern spits out for our three test timestamps. slay.

Bh (h B)

the B is that day-period thing, so you get B instead of am/pm:

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)

the abbreviated weekday, and that's the whole format. short king:

2008-02-05T18:30:30 = út
1995-12-22T09:05:02 = pá
-0010-09-15T04:44:23 = so

EBhm (E h:mm B)

2008-02-05T18:30:30 = út 6:30 B
1995-12-22T09:05:02 = pá 9:05 B
-0010-09-15T04:44:23 = so 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = út 6:30:30 B
1995-12-22T09:05:02 = pá 9:05:02 B
-0010-09-15T04:44:23 = so 4:44:23 B

EHm (E H:mm)

24-hour clock check, and it's giving tidy:

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

EHms (E H:mm:ss)

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

Ed (E d.)

weekday plus the day-number-with-a-period, and nothing else:

2008-02-05T18:30:30 = út 5.
1995-12-22T09:05:02 = pá 22.
-0010-09-15T04:44:23 = so 15.

Ehm (E h:mm a)

here's where odp. (pm) and dop. (am) show up. obsessed:

2008-02-05T18:30:30 = út 6:30 odp.
1995-12-22T09:05:02 = pá 9:05 dop.
-0010-09-15T04:44:23 = so 4:44 dop.

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = út 6:30:30 odp.
1995-12-22T09:05:02 = pá 9:05:02 dop.
-0010-09-15T04:44:23 = so 4:44:23 dop.

Gy (y G)

year plus era. look at that negative year wearing its př. n. l.:

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

GyMMM (LLLL y G)

month name, year, era:

2008-02-05T18:30:30 = únor 2008 n. l.
1995-12-22T09:05:02 = prosinec 1995 n. l.
-0010-09-15T04:44:23 = září -10 př. n. l.

GyMMMEd (E d. M. y G)

2008-02-05T18:30:30 = út 5. 2. 2008 n. l.
1995-12-22T09:05:02 = pá 22. 12. 1995 n. l.
-0010-09-15T04:44:23 = so 15. 9. -10 př. n. l.

GyMMMMEd (E d. MMMM y G)

2008-02-05T18:30:30 = út 5. února 2008 n. l.
1995-12-22T09:05:02 = pá 22. prosince 1995 n. l.
-0010-09-15T04:44:23 = so 15. září -10 př. n. l.

GyMMMMd (d. MMMM y G)

2008-02-05T18:30:30 = 5. února 2008 n. l.
1995-12-22T09:05:02 = 22. prosince 1995 n. l.
-0010-09-15T04:44:23 = 15. září -10 př. n. l.

GyMMMd (d. M. y G)

2008-02-05T18:30:30 = 5. 2. 2008 n. l.
1995-12-22T09:05:02 = 22. 12. 1995 n. l.
-0010-09-15T04:44:23 = 15. 9. -10 př. n. l.

GyMd (d. M. y GGGGG)

narrow era time — notice n.l. and př.n.l. have no spaces in them here, because narrow means narrow:

2008-02-05T18:30:30 = 5. 2. 2008 n.l.
1995-12-22T09:05:02 = 22. 12. 1995 n.l.
-0010-09-15T04:44:23 = 15. 9. -10 př.n.l.

H (H)

literally just the hour. minimalism:

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

Hm (H:mm)

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

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)

that v is the short timezone name, so UTC shows up:

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

Hmsvvvv (H:mm:ss, vvvv)

four vs = the long timezone name, plus a comma:

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

Hmvvvv (H:mm, vvvv)

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)

the stand-alone month number, no zero padding, no thoughts, just vibes:

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 = út 5. 2.
1995-12-22T09:05:02 = pá 22. 12.
-0010-09-15T04:44:23 = so 15. 9.

MMM (LLL)

abbreviated stand-alone month. tiny month energy:

2008-02-05T18:30:30 = úno
1995-12-22T09:05:02 = pro
-0010-09-15T04:44:23 = zář

MMMEd (E d. M.)

same pattern as MEd up there, and yes the output matches it exactly. consistency:

2008-02-05T18:30:30 = út 5. 2.
1995-12-22T09:05:02 = pá 22. 12.
-0010-09-15T04:44:23 = so 15. 9.

MMMMEd (E d. MMMM)

2008-02-05T18:30:30 = út 5. února
1995-12-22T09:05:02 = pá 22. prosince
-0010-09-15T04:44:23 = so 15. září

MMMMW-count-few (W. 'týden' MMMM)

week-of-month, plural category few, and the word týden is in actual quotes in the pattern. we stan a literal:

2008-02-05T18:30:30 = 1. týden února
1995-12-22T09:05:02 = 3. týden prosince
-0010-09-15T04:44:23 = 2. týden září

MMMMW-count-many (W. 'týden' MMMM)

plural category many. same pattern, same output:

2008-02-05T18:30:30 = 1. týden února
1995-12-22T09:05:02 = 3. týden prosince
-0010-09-15T04:44:23 = 2. týden září

MMMMW-count-one (W. 'týden' MMMM)

plural category one:

2008-02-05T18:30:30 = 1. týden února
1995-12-22T09:05:02 = 3. týden prosince
-0010-09-15T04:44:23 = 2. týden září

MMMMW-count-other (W. 'týden' MMMM)

plural category other:

2008-02-05T18:30:30 = 1. týden února
1995-12-22T09:05:02 = 3. týden prosince
-0010-09-15T04:44:23 = 2. týden září

MMMMd (d. MMMM)

2008-02-05T18:30:30 = 5. února
1995-12-22T09:05:02 = 22. prosince
-0010-09-15T04:44:23 = 15. září

MMMd (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.)

just the day, with its little period. precious:

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

h (h a)

12-hour hour plus the dop./odp. marker:

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

hmsv (h:mm:ss a v)

12-hour with seconds and the short timezone. the full package:

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

hmsvvvv (h:mm:ss a, vvvv)

same but long timezone and a comma before it:

2008-02-05T18:30:30 = 6:30:30 odp., 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)

and bestie — the list keeps going. this is only part 1 and there's a whole other pile of formats waiting. turn the page, we're not done slaying. 💅✨

hmvvvv (h:mm a, vvvv)

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

bestie this one is the same as hmv but it did remember the comma before the timezone 🎀 we love a punctuation icon

ms (mm:ss)

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

literally just minutes and seconds, no hours, no thoughts, head empty 💅

y (y)

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

the year and nothing else. also pls clock the -10 — negative years are a whole mood and they do show up 🌸

yM (M/y)

2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10

month slash year. yes the month comes first here, don't fight it 🙈

yMEd (E d. M. y)

2008-02-05T18:30:30 = út 5. 2. 2008
1995-12-22T09:05:02 = pá 22. 12. 1995
-0010-09-15T04:44:23 = so 15. 9. -10

weekday + day + month + year, all dotted up ✨ she's giving calendar app but make it Czech

yMMM (LLLL y)

2008-02-05T18:30:30 = únor 2008
1995-12-22T09:05:02 = prosinec 1995
-0010-09-15T04:44:23 = září -10

standalone month name (that's what the LLLL pattern means, iykyk) plus the year. únor ate, no crumbs 😭

yMMMEd (E d. M. y)

2008-02-05T18:30:30 = út 5. 2. 2008
1995-12-22T09:05:02 = pá 22. 12. 1995
-0010-09-15T04:44:23 = so 15. 9. -10

okay so it produces the exact same output as yMEd — the pattern string is E d. M. y both times, that's literally just how this locale do 💀 not a typo bestie, that's the data

yMMMM (LLLL y)

2008-02-05T18:30:30 = únor 2008
1995-12-22T09:05:02 = prosinec 1995
-0010-09-15T04:44:23 = září -10

long standalone month + year, and again it lands on the same strings as yMMM. highkey consistent of her 🦋

yMMMMEd (E d. MMMM y)

2008-02-05T18:30:30 = út 5. února 2008
1995-12-22T09:05:02 = pá 22. prosince 1995
-0010-09-15T04:44:23 = so 15. září -10

now we're in format month territory (MMMM) so you get the genitive forms — února, prosince, září. grammar said slay 💅

yMMMMd (d. MMMM y)

2008-02-05T18:30:30 = 5. února 2008
1995-12-22T09:05:02 = 22. prosince 1995
-0010-09-15T04:44:23 = 15. září -10

day + long month + year, no weekday invited to the party 🎀

yMMMd (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

the short-and-sweet version: day, abbreviated month, year, all with lil dots after them ✨

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

yep — same output as yMMMd because in this locale the abbreviated month and the numeric month are, well, the same thing here. periodt 🫶

yQQQ (QQQ y)

2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10

abbreviated quarter + year. Q1, Q4, Q3 — corporate girlie energy fr fr 📊

yQQQQ (QQQQ y)

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

the full word for quarter, spelled out. čtvrtletí is a lot of letters and she's proud of every one 👑


okay this next lil cluster is the week-of-year fam — yw-count-few, yw-count-many, yw-count-one and yw-count-other. These are the plural-form variants (that's what count means here, one set per plural category), and bestie… all four produce the identical output. Not a glitch, that's just this locale's data. 💀

yw-count-few (w. 'týden' 'roku' Y)

2008-02-05T18:30:30 = 6. týden roku 2008
1995-12-22T09:05:02 = 51. týden roku 1995
-0010-09-15T04:44:23 = 37. týden roku -10

yw-count-many (w. 'týden' 'roku' Y)

2008-02-05T18:30:30 = 6. týden roku 2008
1995-12-22T09:05:02 = 51. týden roku 1995
-0010-09-15T04:44:23 = 37. týden roku -10

yw-count-one (w. 'týden' 'roku' Y)

2008-02-05T18:30:30 = 6. týden roku 2008
1995-12-22T09:05:02 = 51. týden roku 1995
-0010-09-15T04:44:23 = 37. týden roku -10

yw-count-other (w. 'týden' 'roku' Y)

2008-02-05T18:30:30 = 6. týden roku 2008
1995-12-22T09:05:02 = 51. týden roku 1995
-0010-09-15T04:44:23 = 37. týden roku -10

🌈 Miscellaneous

a couple random locale settings, no biggie:

  • Prefers 24 hour time? — Yes
  • Local first day of the week — 1 (pondělí)

so Monday is the main character of the week around here, and the clock is on 24h time. iconic of her honestly 🕐


✨ Strftime Patterns

and now the classic strftime trio, the OGs, the ones your C code has been calling since forever 💜

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

2008-02-05T18:30:30 = út úno  5 18:30:30 2008
1995-12-22T09:05:02 = pá pro 22 09:05:02 1995
-0010-09-15T04:44:23 = so zář 15 04:44:23 -10

bestie note the double space in út úno 5 — that's %e, which space-pads single-digit days. it's literally in the output, don't "fix" it 😭

%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

yes the pattern is %m/%d/%y so it's month/day/year, even though literally everything else on this page is day-first. the wildcard of the group 🙈

%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

24-hour time, zero-padded, no notes. she's clean, she's simple, she's 18:30:30 ⭐


🫶 SUPPORT

See DateTime::Locale.

that's the whole support section. go touch grass (or go read that module). 💖


and that's a wrap on the whole page, bestie 🎀 this was the DateTim...ale::cs(3) man page from perl v5.42.0, dated 2024-12-12 — shipped as part of the User Contributed Perl Documentation, which honestly is the most wholesome corner of the internet. go format some dates, slay some weeks-of-year, and remember: always pass the right locale. mwah 💅✨

📦 where this page comes from