DateTim...:mfe_MU(3)

πŸ¦‹ DateTime::Locale::mfe_MU(3) β€” the Morisyen Mauritius locale, but make it a vibe check πŸ’…

okay so real quick, bestie: this is a User Contributed Perl Documentation page, section 3 of the manual, and the module it's documenting is DateTime::Locale::mfe_MU. It's part of the DateTime::Locale family, and it's literally just the receipts β€” examples of every piece of locale data that ships for the Morisyen Mauritius (mfe-MU) locale. No code to run, no options to pass, just the raw data served fresh. Let's get into it πŸŽ€


🌸 NAME 🌸

DateTime::Locale::mfe_MU β€” Locale data examples for the Morisyen Mauritius (mfe-MU) locale</p>. That's it, that's the whole name section, iconic brevity 🫢


✨ DESCRIPTION ✨

This pod file contains examples of the locale data available for the Morisyen Mauritius locale. Think of it as a showroom: every day name, month name, quarter, era, and date/time format this locale knows about, laid out with real sample timestamps so you can see exactly what string comes out the other end. Lowkey the most honest documentation style there is 🌈


πŸ—“οΈ Days πŸ—“οΈ

Seven of them, and they show up in six different flavours: Wide, Abbreviated, and Narrow, each one in a format version and a stand-alone version. For this locale the pairs are identical, which honestly? Consistency ate πŸ’…

Wide (format)

lindi
mardi
merkredi
zedi
vandredi
samdi
dimans

Abbreviated (format)

lin
mar
mer
ze
van
sam
dim

Narrow (format)

l
m
m
z
v
s
d
heads up, the narrow ones are single letters and yes, m shows up twice β€” that's the data, not a typo, don't come for me 🫠

Wide (stand-alone)

lindi
mardi
merkredi
zedi
vandredi
samdi
dimans

Abbreviated (stand-alone)

lin
mar
mer
ze
van
sam
dim

Narrow (stand-alone)

l
m
m
z
v
s
d

πŸŒ™ Months πŸŒ™

Twelve months, same six-flavour treatment. Ok so the wide names are giving full main-character energy:

Wide (format)

zanvie
fevriye
mars
avril
me
zin
zilye
out
septam
oktob
novam
desam

Abbreviated (format)

zan
fev
mar
avr
me
zin
zil
out
sep
okt
nov
des

Narrow (format)

z
f
m
a
m
z
z
o
s
o
n
d

Wide (stand-alone)

zanvie
fevriye
mars
avril
me
zin
zilye
out
septam
oktob
novam
desam

Abbreviated (stand-alone)

zan
fev
mar
avr
me
zin
zil
out
sep
okt
nov
des

Narrow (stand-alone)

z
f
m
a
m
z
z
o
s
o
n
d
bestie look at the narrow list β€” m twice, z twice, o twice, s twice. Twelve months, seven distinct letters. That's just how narrow works ✨

πŸŽ€ Quarters πŸŽ€

Four of them, and the wide ones are all about that trimes life:

Wide (format)

1e trimes
2em trimes
3em trimes
4em trimes

Abbreviated (format)

T1
T2
T3
T4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1e trimes
2em trimes
3em trimes
4em trimes

Abbreviated (stand-alone)

T1
T2
T3
T4

Narrow (stand-alone)

1
2
3
4

πŸ‘‘ Eras πŸ‘‘

Only three flavours here β€” no stand-alone versions listed for eras, so don't go looking πŸ‘€

Wide (format)

avan Zezi-Krist
apre Zezi-Krist

Abbreviated (format)

av. Z-K
ap. Z-K

Narrow (format)

av. Z-K
ap. Z-K
yeah the abbreviated and narrow versions are the exact same string. That's the data. Periodt πŸ’€

πŸ“… Date Formats πŸ“…

Every format name, same three timestamps, so you can compare apples to apples. The three test timestamps are 2008-02-05T18:30:30, 1995-12-22T09:05:02, and the chaotic little -0010-09-15T04:44:23 (yes, negative year, we love an edge case 🧚).

Full

2008-02-05T18:30:30 = mardi 5 fevriye 2008
1995-12-22T09:05:02 = vandredi 22 desam 1995
-0010-09-15T04:44:23 = samdi 15 septam -10

Long

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

Medium

2008-02-05T18:30:30 = 5 fev, 2008
1995-12-22T09:05:02 = 22 des, 1995
-0010-09-15T04:44:23 = 15 sep, -10

Short

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

⏰ Time Formats ⏰

Same three timestamps, now the time half. Notice that Full and Long are identical for this locale β€” both slap a UTC on there. Nobody's mad at it πŸ’œ

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 🌈

Now smoosh the date and the time together, which is exactly what you'd expect and also exactly what you get 🫢

Full

2008-02-05T18:30:30 = mardi 5 fevriye 2008 18:30:30 UTC
1995-12-22T09:05:02 = vandredi 22 desam 1995 09:05:02 UTC
-0010-09-15T04:44:23 = samdi 15 septam -10 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 fevriye 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 desam 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 septam -10 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 5 fev, 2008 18:30:30
1995-12-22T09:05:02 = 22 des, 1995 09:05:02
-0010-09-15T04:44:23 = 15 sep, -10 04:44:23

Short

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

πŸ”₯ Available Formats πŸ”₯

okay this is the big one β€” every individual pattern this locale can hand you, each with its pattern string in parens and the same three timestamps for reference. Grab a snack, we're going through all of them πŸ’–

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 = mar
1995-12-22T09:05:02 = van
-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 = van 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 = van 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 = van 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 = van 09:05:02
-0010-09-15T04:44:23 = sam 04:44:23

Ed (d, E)

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

Ehm (E h:mm a)

2008-02-05T18:30:30 = mar 6:30 PM
1995-12-22T09:05:02 = van 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 = van 9:05:02 AM
-0010-09-15T04:44:23 = sam 4:44:23 AM

Gy (G y)

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

GyMMM (G y MMM)

2008-02-05T18:30:30 = ap. Z-K 2008 fev
1995-12-22T09:05:02 = ap. Z-K 1995 des
-0010-09-15T04:44:23 = av. Z-K -10 sep

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = ap. Z-K 2008 fev 5, mar
1995-12-22T09:05:02 = ap. Z-K 1995 des 22, van
-0010-09-15T04:44:23 = av. Z-K -10 sep 15, sam

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = ap. Z-K 2008 fev 5
1995-12-22T09:05:02 = ap. Z-K 1995 des 22
-0010-09-15T04:44:23 = av. Z-K -10 sep 15

GyMd (GGGGG y-MM-dd)

2008-02-05T18:30:30 = ap. Z-K 2008-02-05
1995-12-22T09:05:02 = ap. Z-K 1995-12-22
-0010-09-15T04:44:23 = av. Z-K -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: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 (M)

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, mar
1995-12-22T09:05:02 = 12-22, van
-0010-09-15T04:44:23 = 09-15, sam

MMM (MMM)

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

MMMEd (E d MMM)

2008-02-05T18:30:30 = mar 5 fev
1995-12-22T09:05:02 = van 22 des
-0010-09-15T04:44:23 = sam 15 sep

MMMMEd (E d MMMM)

2008-02-05T18:30:30 = mar 5 fevriye
1995-12-22T09:05:02 = van 22 desam
-0010-09-15T04:44:23 = sam 15 septam

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

2008-02-05T18:30:30 = week 1 of fevriye
1995-12-22T09:05:02 = week 3 of desam
-0010-09-15T04:44:23 = week 2 of septam
this one's giving "count" rules with the -count-other suffix, and the output is literally the English words week and of around the numbers β€” that's the pattern, quoted and everything, don't @ me 😭

MMMMd (d MMMM)

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

MMMd (d MMM)

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

MMd (d/MM)

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

MMdd (dd/MM)

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

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 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 (m:ss)

2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 5: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 = mar 5/2/2008
1995-12-22T09:05:02 = van 22/12/1995
-0010-09-15T04:44:23 = sam 15/9/-10

yMM (MM/y)

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

yMMM (MMM y)

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

yMMMEd (E d MMM y)

2008-02-05T18:30:30 = mar 5 fev 2008
1995-12-22T09:05:02 = van 22 des 1995
-0010-09-15T04:44:23 = sam 15 sep -10

yMMMM (MMMM y)

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

yMMMd (d MMM y)

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

yMd (y-MM-dd)

and that's exactly where part 1 runs out, bestie β€” the yMd examples are picking up at the top of part 2, so don't wander off πŸ¦‹

yQQQ (QQQ y)

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

yQQQQ (QQQQ y)

bestie this one spells the quarter out in full, we love a queen who commits πŸ’…

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

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

okay this one is literally the "week 6 of 2008" vibe, it is giving calendar app on 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 🌸

a lil grab-bag of locale facts, no biggie πŸŽ€

  • Prefers 24 hour time? Yes β€” 24h girlie fr fr, no am/pm shenanigans here πŸ••
  • Local first day of the week β€” 1 (lindi)

⭐ STRFTIME PATTERNS ⭐

these are the classic strftime-style shortcuts, and yes they're serving exactly what you'd expect πŸ¦‹

%c (%a %d %b %Y %T %Z) β€” date time format

2008-02-05T18:30:30 = mar 05 fev 2008 18:30:30 UTC
1995-12-22T09:05:02 = van 22 des 1995 09:05:02 UTC
-0010-09-15T04:44:23 = sam 15 sep -10 04:44:23 UTC

%x (%d/%m/%y) β€” date format

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

%X (%T) β€” 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 🫢

need more? see DateTime::Locale. that's the whole thing, she said what she said πŸ’–


and that's a wrap on this locale, bestie ✨ page brought to you by perl v5.42.0, dated 2024-12-12 β€” go forth and format your timestamps, icon πŸ‘‘πŸ’…
πŸ“¦ where this page comes from