DateTim...ale::oc(3)

✨ DateTime::Locale::oc ✨

okay bestie, gather round 💅 this is the DateTime::Locale::oc page — Locale data examples for the Occitan (oc) locale — and it's basically a whole tour of how Occitan dates and times get formatted. It's long, so this is part 1. Stay with me 🫶


🌸 DESCRIPTION 🌸

so this pod file is literally just a showcase — it "contains examples of the locale data available for the Occitan locale." that's it, that's the job. everything below is pure demonstration energy ✨


🦋 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

<nb>ngl the narrow days stay in English letters — M T W T F S S — and yes it's giving "same seven letters, different vibe" 😭 that's just what the data says, don't come for me</nb>


🎀 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

bestie the way the wide and abbreviated months are literally identical is sending me 💀 nine times out of ten you're getting de genièr no matter which one you ask for. and yes, the narrow ones are just 1 through 12, we love a minimal queen 👑


💜 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

⭐ Eras

Wide (format)

BCE
CE

Abbreviated (format)

BCE
CE

Narrow (format)

BCE
CE

all three widths are the same here — BCE and CE, no shrinking, no games. iconic consistency honestly 🎀


🔥 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

<prpl>notice how Long and Medium are literally twins, no cap 🫶 and Full is the only one adding the day name at the end. also shoutout to -0010 staying -10 like a little negative icon ✨</prpl>


💖 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? identical. both rock the UTC suffix. Medium and Short clock out early and drop the timezone entirely 💅


🌈 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

🧚 Available Formats

okay this is the big one — every named format plus how it renders those same three test datetimes. buckle up bestie, there's a lot 🍓

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 = CE 2008-02-05
1995-12-22T09:05:02 = CE 1995-12-22
-0010-09-15T04:44:23 = BCE -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

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

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)

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)

and that's exactly where the page cuts off bestie 😭 the examples for yMMMd haven't loaded in yet — more formats are coming in part 2, don't go anywhere 💖

okay so we're picking up mid-pattern-dump, bestie — the pattern that was already in progress keeps going, and its values are literally these 💅

          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)

Day first, month second, year last, slashes in between — the way the label dd/MM/y literally spells out 🫶

          2008-02-05T18:30:30 = 05/02/2008
          1995-12-22T09:05:02 = 22/12/1995
         -0010-09-15T04:44:23 = 15/09/-10
not the negative year showing up as -10 at the end 😭 that's not a typo, that's just what the example gives you.

🌸 yQQQ (y QQQ)

Year plus the short quarter form, and it's giving "year space Q-number" ✨

          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 form — and in this locale the output is exactly the same as yQQQ, so no cap, the examples below say what they say 💜

          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)

Obsessed with this one — it spells the week out in words, main character formatting 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 🧚

Two whole vibe-check facts about this locale, and they are:

  • Prefers 24 hour time? Yes ⏰ (clock girlies stay winning)
  • Local first day of the week: 1 (diluns) 🗓️

🌈 Strftime Patterns 🌈

Now the classic strftime-style patterns — these are the ones that show up when you ask for date/time in this locale's style 🔥

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

          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
peep the double space between febrièr and 5 on that first line — that's the %e doing its thing, keep it exactly as written 🙈

🍓 %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 it, that's the whole support section, and honestly? iconic minimalist behaviour 💅


and that's a wrap, bestie 🫶 this little tour came to you from perl v5.42.0, dated 2024-12-12 — go forth and format your dates in Occitan, fr fr ✨

📦 where this page comes from