DateTim...ale::fr(3)

🎀 NAME 🎀

DateTime::Locale::fr(3) is the manual bestie — from the User Contributed Perl Documentation — and the name is DateTime::Locale::fr: Locale data examples for the French (fr) locale. Periodt. 💅

✨ DESCRIPTION ✨

Okay so this pod file is literally a showcase of examples of the locale data that’s available for the French locale. It’s giving reference sheet, but make it chic. ✨


🌈 Days 🌈

First up, the days. French day names in formation. 💖

🌸 Wide (format) 🌸

lundi
mardi
mercredi
jeudi
vendredi
samedi
dimanche

🌸 Abbreviated (format) 🌸

lun.
mar.
mer.
jeu.
ven.
sam.
dim.

🌸 Narrow (format) 🌸

L
M
M
J
V
S
D

🌸 Wide (stand-alone) 🌸

lundi
mardi
mercredi
jeudi
vendredi
samedi
dimanche

🌸 Abbreviated (stand-alone) 🌸

lun.
mar.
mer.
jeu.
ven.
sam.
dim.

🌸 Narrow (stand-alone) 🌸

L
M
M
J
V
S
D

🦋 Months 🦋

Months, months, months — the whole calendar era. 🎀

💖 Wide (format) 💖

janvier
février
mars
avril
mai
juin
juillet
août
septembre
octobre
novembre
décembre

💖 Abbreviated (format) 💖

janv.
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.

💖 Narrow (format) 💖

J
F
M
A
M
J
J
A
S
O
N
D

💖 Wide (stand-alone) 💖

janvier
février
mars
avril
mai
juin
juillet
août
septembre
octobre
novembre
décembre

💖 Abbreviated (stand-alone) 💖

janv.
févr.
mars
avr.
mai
juin
juil.
août
sept.
oct.
nov.
déc.

💖 Narrow (stand-alone) 💖

J
F
M
A
M
J
J
A
S
O
N
D

🎀 Quarters 🎀

Quarter energy only. Very structured, very demure. 💅

⭐ Wide (format) ⭐

1er trimestre
2e trimestre
3e trimestre
4e trimestre

⭐ Abbreviated (format) ⭐

T1
T2
T3
T4

⭐ Narrow (format) ⭐

1
2
3
4

⭐ Wide (stand-alone) ⭐

1er trimestre
2e trimestre
3e trimestre
4e trimestre

⭐ Abbreviated (stand-alone) ⭐

T1
T2
T3
T4

⭐ Narrow (stand-alone) ⭐

1
2
3
4

👑 Eras 👑

The eras are here, and yes, they are literally giving history. No cap. 🦋

🌟 Wide (format) 🌟

avant Jésus-Christ
après Jésus-Christ

🌟 Abbreviated (format) 🌟

av. J.-C.
ap. J.-C.

🌟 Narrow (format) 🌟

av. J.-C.
ap. J.-C.

🗓️ Date Formats 🗓️

Here’s the date-format lineup. Same input moment, different levels of detail. 💖

💫 Full 💫

2008-02-05T18:30:30 = mardi 5 février 2008
1995-12-22T09:05:02 = vendredi 22 décembre 1995
-0010-09-15T04:44:23 = samedi 15 septembre -10

💫 Long 💫

2008-02-05T18:30:30 = 5 février 2008
1995-12-22T09:05:02 = 22 décembre 1995
-0010-09-15T04:44:23 = 15 septembre -10

💫 Medium 💫

2008-02-05T18:30:30 = 5 févr. 2008
1995-12-22T09:05:02 = 22 déc. 1995
-0010-09-15T04:44:23 = 15 sept. -10

💫 Short 💫

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

⏰ Time Formats ⏰

Time to clock in. Pun fully intended. 🕰️

🎀 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 🌸

Date plus time, together at last. Main character combo energy. 💖

🌈 Full 🌈

2008-02-05T18:30:30 = mardi 5 février 2008, 18:30:30 UTC
1995-12-22T09:05:02 = vendredi 22 décembre 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = samedi 15 septembre -10, 04:44:23 UTC

🌈 Long 🌈

2008-02-05T18:30:30 = 5 février 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 décembre 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 septembre -10, 04:44:23 UTC

🌈 Medium 🌈

2008-02-05T18:30:30 = 5 févr. 2008, 18:30:30
1995-12-22T09:05:02 = 22 déc. 1995, 09:05:02
-0010-09-15T04:44:23 = 15 sept. -10, 04:44:23

🌈 Short 🌈

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

👑 Available Formats 👑

Here’s the big bag of format keys. Each little heading is the format label exactly as the original spells it, and the code block is the example lineup. No cap, keep these literal. 💅

💫 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 (E) 💫

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

💫 EBhm (E h:mm B) 💫

2008-02-05T18:30:30 = mar. 6:30 B
1995-12-22T09:05:02 = ven. 9:05 B
-0010-09-15T04:44:23 = sam. 4:44 B

💫 EBhms (E h:mm:ss B) 💫

2008-02-05T18:30:30 = mar. 6:30:30 B
1995-12-22T09:05:02 = ven. 9:05:02 B
-0010-09-15T04:44:23 = sam. 4:44:23 B

💫 EHm (E HH:mm) 💫

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

💫 EHms (E HH:mm:ss) 💫

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

💫 Ed (E d) 💫

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

💫 Ehm (E h:mm a) 💫

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

💫 Ehms (E h:mm:ss a) 💫

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

💫 Gy (y G) 💫

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

💫 GyMMM (MMM y G) 💫

2008-02-05T18:30:30 = févr. 2008 ap. J.-C.
1995-12-22T09:05:02 = déc. 1995 ap. J.-C.
-0010-09-15T04:44:23 = sept. -10 av. J.-C.

💫 GyMMMEd (E d MMM y G) 💫

2008-02-05T18:30:30 = mar. 5 févr. 2008 ap. J.-C.
1995-12-22T09:05:02 = ven. 22 déc. 1995 ap. J.-C.
-0010-09-15T04:44:23 = sam. 15 sept. -10 av. J.-C.

💫 GyMMMd (d MMM y G) 💫

2008-02-05T18:30:30 = 5 févr. 2008 ap. J.-C.
1995-12-22T09:05:02 = 22 déc. 1995 ap. J.-C.
-0010-09-15T04:44:23 = 15 sept. -10 av. J.-C.

💫 GyMd (dd/MM/y GGGGG) 💫

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

💫 H (HH 'h') 💫

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

💫 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 dd/MM) 💫

2008-02-05T18:30:30 = mar. 05/02
1995-12-22T09:05:02 = ven. 22/12
-0010-09-15T04:44:23 = sam. 15/09

💫 MMM (LLL) 💫

2008-02-05T18:30:30 = févr.
1995-12-22T09:05:02 = déc.
-0010-09-15T04:44:23 = sept.

💫 MMMEd (E d MMM) 💫

2008-02-05T18:30:30 = mar. 5 févr.
1995-12-22T09:05:02 = ven. 22 déc.
-0010-09-15T04:44:23 = sam. 15 sept.

💫 MMMW-count-one ('semaine' W (MMMM)) 💫

2008-02-05T18:30:30 = semaine 1 (février)
1995-12-22T09:05:02 = semaine 3 (décembre)
-0010-09-15T04:44:23 = semaine 2 (septembre)

💫 MMMW-count-other ('semaine' W (MMMM)) 💫

2008-02-05T18:30:30 = semaine 1 (février)
1995-12-22T09:05:02 = semaine 3 (décembre)
-0010-09-15T04:44:23 = semaine 2 (septembre)

💫 MMMMd (d MMMM) 💫

2008-02-05T18:30:30 = 5 février
1995-12-22T09:05:02 = 22 décembre
-0010-09-15T04:44:23 = 15 septembre

💫 MMMd (d MMM) 💫

2008-02-05T18:30:30 = 5 févr.
1995-12-22T09:05:02 = 22 déc.
-0010-09-15T04:44:23 = 15 sept.

💫 Md (dd/MM) 💫

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

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

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

💫 yMEd (E dd/MM/y) 💫

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

💫 yMMM (MMM y) 💫

2008-02-05T18:30:30 = févr. 2008
1995-12-22T09:05:02 = déc. 1995
-0010-09-15T04:44:23 = sept. -10

💫 yMMMEd (E d MMM y) 💫

2008-02-05T18:30:30 = mar. 5 févr. 2008
1995-12-22T09:05:02 = ven. 22 déc. 1995
-0010-09-15T04:44:23 = sam. 15 sept. -10

💫 yMMMM (MMMM y) 💫

2008-02-05T18:30:30 = février 2008
1995-12-22T09:05:02 = décembre 1995
-0010-09-15T04:44:23 = septembre -10

💫 yMMMd (d MMM y) 💫

2008-02-05T18:30:30 = 5 févr. 2008
1995-12-22T09:05:02 = 22 déc. 1995
-0010-09-15T04:44:23 = 15 sept. -10

💫 yMd (dd/MM/y) 💫

🌸 the rest of the date patterns (no crumbs left) 🌸

yQQQ (QQQ y) — quarter, short and sweet, flipped so the quarter goes first:

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

yQQQQ (QQQQ y) — the full-glam quarter name, also quarter-first:

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

yw-count-one ('semaine' w 'de' Y) — week number, singular-flavoured, all spelled out with 'semaine', w, 'de', Y:

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

yw-count-other ('semaine' w 'de' Y) — the "other" plural bucket, and honestly bestie it renders exactly the same as the one above, that's just how French rolls 💅:

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

🫶 Miscellaneous (the lil' settings corner)

Prefers 24 hour time? — Yes ✨ (no AM/PM chaos here, we're built different)

Local first day of the week — 1 (lundi) 🗓️


💫 Strftime Patterns (the classic hits, remixed)

%c (%a %b %e %H:%M:%S %Y) — date time format, the whole vibe in one string:

2008-02-05T18:30:30 = mar. févr.  5 18:30:30 2008
1995-12-22T09:05:02 = ven. déc. 22 09:05:02 1995
-0010-09-15T04:44:23 = sam. sept. 15 04:44:23 -10

%x (%m/%d/%y) — date format, nice and compact:

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, clock only, no notes:

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 to go when you need backup)

See DateTime::Locale. That's it, that's the whole support section, and it ate 💖


🎀 and that's a wrap on the French locale, bestie! Go forth and format your dates with main character energy 👑

later, legend 💜 — this page is from perl v5.42.0, dated 2024-12-12, and the footer reads DateTim...ale::fr(3) (yes the name is truncated, she's mysterious like that 🦋)

📦 where this page comes from