DateTim...e::oc_ES(3)

🦋 DateTim...e::oc_ES(3) 🦋

okay so bestie, this is a page from User Contributed Perl Documentation and it's literally the vibe check of a locale. Yes, the manual name up top is DateTim...e::oc_ES(3) — that's the whole title, no notes 💅. It's part of the DateTime::Locale family and this one is all about Occitan Spain (oc-ES). Grab a snack, we're going through every single example the pod file ships with 🍓.


✨ NAME ✨

DateTime::Locale::oc_ES — Locale data examples for the Occitan Spain (oc-ES) locale. That's it, that's the name, icon 👑


🌸 DESCRIPTION 🌸

This pod file is basically a show-and-tell 🎀. It contains a whole bunch of examples of the locale data that's available for the Occitan Spain locale. Like, every day name, month name, and format string it's got, printed out so you can see exactly what comes back. Let's go section by section, no skipping 🫶.


🗓️ Days 🗓️

Wide (format)

diluns
dimars
dimècres
dijòus
divendres
dissabte
dimenge

Abbreviated (format)

diluns
dimars
dimècres
dijòus
divendres
dissabte
dimenge

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

diluns
dimars
dimècres
dijòus
divendres
dissabte
dimenge

Abbreviated (stand-alone)

diluns
dimars
dimècres
dijòus
divendres
dissabte
dimenge

Narrow (stand-alone)

M
T
W
T
F
S
S
ngl the narrow ones are literally just M T W T F S S, and yes the T shows up twice and the S shows up twice. That's not a typo, that's the data, bestie 💀. The abbreviations are also identical to the wide forms here — this locale said "why be short when you could be iconic".

🌙 Months 🌙

Wide (format)

de genièr
de febrièr
de març
d’abril
de mai
de junh
de julhet
d’agost
de setembre
d’octòbre
de novembre
de decembre

Abbreviated (format)

de genièr
de febrièr
de març
d’abril
de mai
de junh
de julhet
d’agost
de setembre
d’octòbre
de novembre
de decembre

Narrow (format)

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

Wide (stand-alone)

de genièr
de febrièr
de març
d’abril
de mai
de junh
de julhet
d’agost
de setembre
d’octòbre
de novembre
de decembre

Abbreviated (stand-alone)

de genièr
de febrièr
de març
d’abril
de mai
de junh
de julhet
d’agost
de setembre
d’octòbre
de novembre
de decembre

Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12
ok the way every month starts with de or d’ and then the actual month… and the narrow format just straight up gives up and says 1 through 12 😭. Also peep the curly apostrophe in d’abril and d’octòbre — that is not a straight quote, she's fancy, copy it exactly, fr fr.

🌈 Quarters 🌈

Wide (format)

Q1
Q2
Q3
Q4

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

Q1
Q2
Q3
Q4

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4
quarters are giving minimal effort and honestly? valid. Wide and abbreviated are the same, narrow strips it down to the digit 🌸.

⭐ Eras ⭐

Wide (format)

BCE
CE

Abbreviated (format)

BCE
CE

Narrow (format)

a. C.
d. C.
note that eras only come in three flavors, no stand-alone versions here — and narrow is doing its own little thing with a. C. and d. C. 💅.

🎀 Date Formats 🎀

Full

2008-02-05T18:30:30 = 2008 de febrièr 5, dimars
1995-12-22T09:05:02 = 1995 de decembre 22, divendres
-0010-09-15T04:44:23 = -10 de setembre 15, dissabte

Long

2008-02-05T18:30:30 = 2008 de febrièr 5
1995-12-22T09:05:02 = 1995 de decembre 22
-0010-09-15T04:44:23 = -10 de setembre 15

Medium

2008-02-05T18:30:30 = 2008 de febrièr 5
1995-12-22T09:05:02 = 1995 de decembre 22
-0010-09-15T04:44:23 = -10 de setembre 15

Short

2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -10-09-15
Long and Medium are literally twins here, no cap. And yes, that year -0010 renders as -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 the same again (both with UTC), Medium drops the zone, Short drops the seconds. The way it just… trims 😌.

💖 Datetime Formats 💖

Full

2008-02-05T18:30:30 = 2008 de febrièr 5, dimars 18:30:30 UTC
1995-12-22T09:05:02 = 1995 de decembre 22, divendres 09:05:02 UTC
-0010-09-15T04:44:23 = -10 de setembre 15, dissabte 04:44:23 UTC

Long

2008-02-05T18:30:30 = 2008 de febrièr 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 de decembre 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 de setembre 15 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 2008 de febrièr 5 18:30:30
1995-12-22T09:05:02 = 1995 de decembre 22 09:05:02
-0010-09-15T04:44:23 = -10 de setembre 15 04:44:23

Short

2008-02-05T18:30:30 = 2008-02-05 18:30
1995-12-22T09:05:02 = 1995-12-22 09:05
-0010-09-15T04:44:23 = -10-09-15 04:44
Full keeps the weekday, Long and Medium drop it, Short is just pure digits with a space. Beautiful. No notes 👑

🔥 Available Formats 🔥

this is the big one, bestie. every named format, with its literal pattern in parens, and three worked examples. buckle up 🧚

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 = dimars
1995-12-22T09:05:02 = divendres
-0010-09-15T04:44:23 = dissabte

EBhm (E h:mm B)

2008-02-05T18:30:30 = dimars 6:30 B
1995-12-22T09:05:02 = divendres 9:05 B
-0010-09-15T04:44:23 = dissabte 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = dimars 6:30:30 B
1995-12-22T09:05:02 = divendres 9:05:02 B
-0010-09-15T04:44:23 = dissabte 4:44:23 B

EHm (E HH:mm)

2008-02-05T18:30:30 = dimars 18:30
1995-12-22T09:05:02 = divendres 09:05
-0010-09-15T04:44:23 = dissabte 04:44

EHms (E HH:mm:ss)

2008-02-05T18:30:30 = dimars 18:30:30
1995-12-22T09:05:02 = divendres 09:05:02
-0010-09-15T04:44:23 = dissabte 04:44:23

Ed (d, E)

2008-02-05T18:30:30 = 5, dimars
1995-12-22T09:05:02 = 22, divendres
-0010-09-15T04:44:23 = 15, dissabte

Ehm (E h:mm a)

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

Ehms (E h:mm:ss a)

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

Gy (G y)

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

GyMMM (G y MMM)

2008-02-05T18:30:30 = CE 2008 de febrièr
1995-12-22T09:05:02 = CE 1995 de decembre
-0010-09-15T04:44:23 = BCE -10 de setembre

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = CE 2008 de febrièr 5, dimars
1995-12-22T09:05:02 = CE 1995 de decembre 22, divendres
-0010-09-15T04:44:23 = BCE -10 de setembre 15, dissabte

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = CE 2008 de febrièr 5
1995-12-22T09:05:02 = CE 1995 de decembre 22
-0010-09-15T04:44:23 = BCE -10 de setembre 15

GyMd (GGGGG y-MM-dd)

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

H (HH)

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

Hm (HH'h'mm)

2008-02-05T18:30:30 = 18h30
1995-12-22T09:05:02 = 09h05
-0010-09-15T04:44:23 = 04h44

Hms (HH'h'mm ss 'seg'.)

2008-02-05T18:30:30 = 18h30 30 seg.
1995-12-22T09:05:02 = 09h05 02 seg.
-0010-09-15T04:44:23 = 04h44 23 seg.

Hmsv (HH'h'mm ss 'seg'. v)

2008-02-05T18:30:30 = 18h30 30 seg. UTC
1995-12-22T09:05:02 = 09h05 02 seg. UTC
-0010-09-15T04:44:23 = 04h44 23 seg. 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 (MM-dd, E)

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

MMM (LLL)

2008-02-05T18:30:30 = de febrièr
1995-12-22T09:05:02 = de decembre
-0010-09-15T04:44:23 = de setembre

MMMEd (MMM d, E)

2008-02-05T18:30:30 = de febrièr 5, dimars
1995-12-22T09:05:02 = de decembre 22, divendres
-0010-09-15T04:44:23 = de setembre 15, dissabte

MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of de febrièr
1995-12-22T09:05:02 = week 3 of de decembre
-0010-09-15T04:44:23 = week 2 of de setembre
the word week and the word of are both literally in English in the pattern, wrapped in quotes, and they stay that way in the output. Not me double-checking that twice 😭. Also peep the -count-other on the name — that's part of the format name, don't drop it.

MMMMd (MMMM d)

2008-02-05T18:30:30 = de febrièr 5
1995-12-22T09:05:02 = de decembre 22
-0010-09-15T04:44:23 = de setembre 15

MMMd (MMM d)

2008-02-05T18:30:30 = de febrièr 5
1995-12-22T09:05:02 = de decembre 22
-0010-09-15T04:44:23 = de setembre 15

Md (MM-dd)

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

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'h'mm a)

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

hms (h'h'mm:ss a)

2008-02-05T18:30:30 = 6h30:30 PM
1995-12-22T09:05:02 = 9h05:02 AM
-0010-09-15T04:44:23 = 4h44:23 AM
yes 6h30:30 PM really does mix the h separator with a colon before the seconds. That's the data. It's quirky, it's iconic, we respect it 💅.

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 (y-MM)

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

yMEd (y-MM-dd, E)

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

yMMM (y MMM)

2008-02-05T18:30:30 = 2008 de febrièr
1995-12-22T09:05:02 = 1995 de decembre
-0010-09-15T04:44:23 = -10 de setembre

yMMMEd (y MMM d, E)

2008-02-05T18:30:30 = 2008 de febrièr 5, dimars
1995-12-22T09:05:02 = 1995 de decembre 22, divendres
-0010-09-15T04:44:23 = -10 de setembre 15, dissabte

yMMMM (y MMMM)

…and that's exactly where part 1 stops, bestie — the yMMMM examples are still loading in the group chat, so hang tight for part 2 🌈✨

the rest of the yMMM crew pulls up looking like:

2008-02-05T18:30:30 = 2008 de febrièr
1995-12-22T09:05:02 = 1995 de decembre
-0010-09-15T04:44:23 = -10 de setembre

💅 yMMMd (d MMM y)

day-first, month-word-second, year last — the whole ~sentence~ of a date:

2008-02-05T18:30:30 = 5 de febrièr 2008
1995-12-22T09:05:02 = 22 de decembre 1995
-0010-09-15T04:44:23 = 15 de setembre -10

🎀 yMd (dd/MM/y)

slashes, day before month, and yes bestie that negative year is just out there raw and unpadded, iykyk:

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

🦋 yQQQ (y QQQ)

quarter energy 🔥 the short version:

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

🌸 yQQQQ (y QQQQ)

the long quarter format and it is literally the exact same output as yQQQ above — no cap, identical, I checked:

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

🧚 yw-count-other ('week' w 'of' Y)

week number with the literal words week and of baked right into the pattern, main character energy:

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

🌈 Miscellaneous 🌈

💜 Prefers 24 hour time?

Yes — bestie said 24h or nothing 💅

🍓 Local first day of the week

1 (diluns) — the week starts on Monday around these parts, periodt.


⭐ Strftime Patterns ⭐

the classic strftime-flavoured formats, slaying since forever:

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

full date + time combo meal:

2008-02-05T18:30:30 = dimars de febrièr  5 18:30:30 2008
1995-12-22T09:05:02 = divendres de decembre 22 09:05:02 1995
-0010-09-15T04:44:23 = dissabte de setembre 15 04:44:23 -10

🫶 %x (%m/%d/%y) — date format

(yeah the pattern says month-first even though yMd above went day-first — I don't make the rules, I just report them faithfully 😭)

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

just the clock, nothing else, clean and iconic:

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 it, that's the whole support section — go read the parent page, bestie, it's got the lore 🫶


okay that's genuinely the whole page, we ate and left zero crumbs 👑

cute little sign-off so you know where this came from: this is the DateTime::Locale::oc_ES(3) page from perl v5.42.0, dated 2024-12-12 💜 go be obsessed with your locales fr fr 🦋✨

📦 where this page comes from