DateTim...e::ar_MA(3)

✨ DateTime::Locale::ar_MA ✨

okay so first things first — yes, the man page header really does read DateTim...e::ar_MA(3), squished and truncated like that, and the section is User Contributed Perl Documentation, so if you saw that weird middle-dots thing in your terminal, you're not glitching, it's just the title being dramatic. 🎀 The module's actual name is DateTime::Locale::ar_MA. This part of the page is the examples half, and bestie, it is dripping in locale data.


💜 NAME 💜

DateTime::Locale::ar_MA — locale data examples for the Arabic Morocco (ar-MA) locale. That's it. That's the whole name section. Short queen behaviour. 👑


🌸 DESCRIPTION 🌸

this pod file is literally just examples — examples of the locale data that's available for the Arabic Morocco locale. no cap, that's the entire job of this page: show you what the data looks like so you can see it with your own eyes. 🦋


🌈 Days

seven of them, and the format list and the stand-alone list are the same list, bestie — widest to narrowest, all consistent.

Wide (format)

الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد

Abbreviated (format)

الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد

Narrow (format)

ن
ث
ر
خ
ج
س
ح

Wide (stand-alone)

الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد

Abbreviated (stand-alone)

الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد

Narrow (stand-alone)

ن
ث
ر
خ
ج
س
ح

🦋 Months

twelve months, wide and abbreviated are identical twins fr fr, and the narrow ones are single letters. iconic.

Wide (format)

يناير
فبراير
مارس
أبريل
ماي
يونيو
يوليوز
غشت
شتنبر
أكتوبر
نونبر
دجنبر

Abbreviated (format)

يناير
فبراير
مارس
أبريل
ماي
يونيو
يوليوز
غشت
شتنبر
أكتوبر
نونبر
دجنبر

Narrow (format)

ي
ف
م
أ
م
ن
ل
غ
ش
ك
ب
د

Wide (stand-alone)

يناير
فبراير
مارس
أبريل
ماي
يونيو
يوليوز
غشت
شتنبر
أكتوبر
نونبر
دجنبر

Abbreviated (stand-alone)

يناير
فبراير
مارس
أبريل
ماي
يونيو
يوليوز
غشت
شتنبر
أكتوبر
نونبر
دجنبر

Narrow (stand-alone)

ي
ف
م
أ
م
ن
ل
غ
ش
ك
ب
د

💖 Quarters

four of them. wide and abbreviated are the same text, narrow is straight up the Arabic-Indic digits ١ ٢ ٣ ٤ — aesthetic. ✨

Wide (format)

الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع

Abbreviated (format)

الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع

Narrow (format)

١
٢
٣
٤

Wide (stand-alone)

الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع

Abbreviated (stand-alone)

الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع

Narrow (stand-alone)

١
٢
٣
٤

🎀 Eras

only the format flavours here — no stand-alone era lists on this page, so don't go looking, bestie. two eras, that's the vibe.

Wide (format)

قبل الميلاد
ميلادي

Abbreviated (format)

ق.م
م

Narrow (format)

ق.م
م

⭐ Date Formats

same three timestamps every single time so you can compare across lengths: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and -0010-09-15T04:44:23 (yes, that last one is a negative year, it's intentional, don't @ me 😭).

Full

2008-02-05T18:30:30 = الثلاثاء، 5 فبراير 2008
1995-12-22T09:05:02 = الجمعة، 22 دجنبر 1995
-0010-09-15T04:44:23 = السبت، 15 شتنبر -10

Long

2008-02-05T18:30:30 = 5 فبراير 2008
1995-12-22T09:05:02 = 22 دجنبر 1995
-0010-09-15T04:44:23 = 15 شتنبر -10

Medium

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

Full and Long are literally the same output here — both slap a UTC on the end. Medium and Short keep it clean with no zone. 💅

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 + time glued together with that ، separator. the way the Full one stacks the day name, the date, and the UTC time? main character energy honestly. 👑

Full

2008-02-05T18:30:30 = الثلاثاء، 5 فبراير 2008، 18:30:30 UTC
1995-12-22T09:05:02 = الجمعة، 22 دجنبر 1995، 09:05:02 UTC
-0010-09-15T04:44:23 = السبت، 15 شتنبر -10، 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 فبراير 2008، 18:30:30 UTC
1995-12-22T09:05:02 = 22 دجنبر 1995، 09:05:02 UTC
-0010-09-15T04:44:23 = 15 شتنبر -10، 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 05/02/2008، 18:30:30
1995-12-22T09:05:02 = 22/12/1995، 09:05:02
-0010-09-15T04:44:23 = 15/09/-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, bestie. every named format, with its pattern in parens, and the same three timestamps rendered through it. buckle up. 🎢

Bh — pattern h B

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

Bhm — pattern 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 — pattern 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 — pattern ccc

2008-02-05T18:30:30 = الثلاثاء
1995-12-22T09:05:02 = الجمعة
-0010-09-15T04:44:23 = السبت

EBhm — pattern E 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

EBhms — pattern E 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

EHm — pattern E HH:mm

2008-02-05T18:30:30 = الثلاثاء 18:30
1995-12-22T09:05:02 = الجمعة 09:05
-0010-09-15T04:44:23 = السبت 04:44

EHms — pattern E 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

Ed — pattern E، d

2008-02-05T18:30:30 = الثلاثاء، 5
1995-12-22T09:05:02 = الجمعة، 22
-0010-09-15T04:44:23 = السبت، 15

Ehm — pattern E h:mm a

2008-02-05T18:30:30 = الثلاثاء 6:30 م
1995-12-22T09:05:02 = الجمعة 9:05 ص
-0010-09-15T04:44:23 = السبت 4:44 ص

Ehms — pattern E h:mm:ss a

2008-02-05T18:30:30 = الثلاثاء 6:30:30 م
1995-12-22T09:05:02 = الجمعة 9:05:02 ص
-0010-09-15T04:44:23 = السبت 4:44:23 ص

Gy — pattern y G

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

GyMMM — pattern MMM y G

2008-02-05T18:30:30 = فبراير 2008 م
1995-12-22T09:05:02 = دجنبر 1995 م
-0010-09-15T04:44:23 = شتنبر -10 ق.م

GyMMMEd — pattern E، d MMM y G

2008-02-05T18:30:30 = الثلاثاء، 5 فبراير 2008 م
1995-12-22T09:05:02 = الجمعة، 22 دجنبر 1995 م
-0010-09-15T04:44:23 = السبت، 15 شتنبر -10 ق.م

GyMMMd — pattern d MMM y G

2008-02-05T18:30:30 = 5 فبراير 2008 م
1995-12-22T09:05:02 = 22 دجنبر 1995 م
-0010-09-15T04:44:23 = 15 شتنبر -10 ق.م

GyMd — pattern dd-MM-y GGGGG

2008-02-05T18:30:30 = 05-02-2008 م
1995-12-22T09:05:02 = 22-12-1995 م
-0010-09-15T04:44:23 = 15-09--10 ق.م
⚠️ look at that last line again — 15-09--10 really does have a double hyphen, because the year itself is -10. it's giving chaos but it's correct. 💀

H — pattern HH

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

Hm — pattern HH:mm

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

Hms — pattern 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 — pattern 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 — pattern 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 — pattern L

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

MEd — pattern E، d/M

2008-02-05T18:30:30 = الثلاثاء، 5/2
1995-12-22T09:05:02 = الجمعة، 22/12
-0010-09-15T04:44:23 = السبت، 15/9

MMM — pattern LLL

2008-02-05T18:30:30 = فبراير
1995-12-22T09:05:02 = دجنبر
-0010-09-15T04:44:23 = شتنبر

MMMEd — pattern E، d MMM

2008-02-05T18:30:30 = الثلاثاء، 5 فبراير
1995-12-22T09:05:02 = الجمعة، 22 دجنبر
-0010-09-15T04:44:23 = السبت، 15 شتنبر

MMMMEd — pattern E، d MMMM

2008-02-05T18:30:30 = الثلاثاء، 5 فبراير
1995-12-22T09:05:02 = الجمعة، 22 دجنبر
-0010-09-15T04:44:23 = السبت، 15 شتنبر

MMMMW-count-few — pattern الأسبوع W من MMMM

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من دجنبر
-0010-09-15T04:44:23 = الأسبوع 2 من شتنبر

MMMMW-count-many — pattern الأسبوع W من MMMM

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من دجنبر
-0010-09-15T04:44:23 = الأسبوع 2 من شتنبر

MMMMW-count-one — pattern الأسبوع W من MMMM

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من دجنبر
-0010-09-15T04:44:23 = الأسبوع 2 من شتنبر

MMMMW-count-other — pattern الأسبوع W من MMMM

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من دجنبر
-0010-09-15T04:44:23 = الأسبوع 2 من شتنبر

MMMMW-count-two — pattern الأسبوع W من MMMM

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من دجنبر
-0010-09-15T04:44:23 = الأسبوع 2 من شتنبر

MMMMW-count-zero — pattern الأسبوع W من MMMM

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من دجنبر
-0010-09-15T04:44:23 = الأسبوع 2 من شتنبر
and yeah, all six of those MMMMW-count-* variants carry the exact same pattern and the exact same example outputs on this page — bestie I checked, they're clones. 🫶

MMMMd — pattern d MMMM

2008-02-05T18:30:30 = 5 فبراير
1995-12-22T09:05:02 = 22 دجنبر
-0010-09-15T04:44:23 = 15 شتنبر

MMMd — pattern d MMM

(and the list literally cuts off here — the page ends mid-entry, so the MMMd examples are coming your way in the next bit 💜)

okay so we're picking right back up mid-format-list 🫶 part one got us through NAME and DESCRIPTION, and now the last pattern from before wraps up with these three — no cap, these are the exact values 💅

2008-02-05T18:30:30 = 5 فبراير
1995-12-22T09:05:02 = 22 دجنبر
-0010-09-15T04:44:23 = 15 شتنبر

🎀 MMdd (dd/MM)

day and month, zero-padded, month first — classic 💖

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

🎀 Md (d/M)

same energy, just not padded, so the numbers get to breathe ✨

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, that's it, main character energy 👑

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

🎀 h (h a)

hour plus the AM/PM marker — here it's م and ص lowkey iconic 🌙☀️

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

🎀 hm (h:mm a)

hour and minute with the marker, the lil everyday time vibe 🌸

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

🎀 hms (h:mm:ss a)

now with seconds, cause sometimes you need that precision ✨

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

🎀 hmsv (h:mm:ss a v)

seconds and the time zone name tacked on at the end 🦋

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

🎀 hmv (h:mm a v)

same but no seconds — brief and to the point 💅

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

🎀 ms (mm:ss)

minute:second only, genuinely giving stopwatch 🍓

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

🎀 y (y)

the year, nothing else. and yes it can be negative, look at that -10 😭

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

🎀 yM (M/y)

month slash year, tidy little combo 🎀

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)

weekday, then day/month/year — note that fancy Arabic comma ، separating them 💜

2008-02-05T18:30:30 = الثلاثاء، 5/2/2008
1995-12-22T09:05:02 = الجمعة، 22/12/1995
-0010-09-15T04:44:23 = السبت، 15/9/-10

🎀 yMM (MM/y)

padded month slash year, very neat-freak of it 🌸

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

🎀 yMMM (MMM y)

abbreviated month name then year 🦋

2008-02-05T18:30:30 = فبراير 2008
1995-12-22T09:05:02 = دجنبر 1995
-0010-09-15T04:44:23 = شتنبر -10

🎀 yMMMEd (E، d MMM y)

weekday, comma, day, abbreviated month, year — the full lil sentence 💖

2008-02-05T18:30:30 = الثلاثاء، 5 فبراير 2008
1995-12-22T09:05:02 = الجمعة، 22 دجنبر 1995
-0010-09-15T04:44:23 = السبت، 15 شتنبر -10

🎀 yMMMM (MMMM y)

same as above but with the full month name, going all out 👑

2008-02-05T18:30:30 = فبراير 2008
1995-12-22T09:05:02 = دجنبر 1995
-0010-09-15T04:44:23 = شتنبر -10

🎀 yMMMd (d MMM y)

day, abbreviated month, year — no weekday crashing the party ✨

2008-02-05T18:30:30 = 5 فبراير 2008
1995-12-22T09:05:02 = 22 دجنبر 1995
-0010-09-15T04:44:23 = 15 شتنبر -10

🎀 yMd (d/M/y)

the classic all-numbers date, zero notes 💅

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

🎀 yQQQ (QQQ y)

quarter year, abbreviated — Arabic quarter names ate that 🔥

2008-02-05T18:30:30 = الربع الأول 2008
1995-12-22T09:05:02 = الربع الرابع 1995
-0010-09-15T04:44:23 = الربع الثالث -10

🎀 yQQQQ (QQQQ y)

same quarter vibe, full form — and yes the output matches yQQQ exactly, that's just how it is 🫶

2008-02-05T18:30:30 = الربع الأول 2008
1995-12-22T09:05:02 = الربع الرابع 1995
-0010-09-15T04:44:23 = الربع الثالث -10

🎀 yw-count-few (الأسبوع w من سنة Y)

week number inside a year, and this one's the few plural form 🧚

2008-02-05T18:30:30 = الأسبوع 6 من سنة 2008
1995-12-22T09:05:02 = الأسبوع 51 من سنة 1995
-0010-09-15T04:44:23 = الأسبوع 37 من سنة -10

🎀 yw-count-many (الأسبوع w من سنة Y)

the many plural form — same pattern string, same output 🌈

2008-02-05T18:30:30 = الأسبوع 6 من سنة 2008
1995-12-22T09:05:02 = الأسبوع 51 من سنة 1995
-0010-09-15T04:44:23 = الأسبوع 37 من سنة -10

🎀 yw-count-one (الأسبوع w من سنة Y)

the one form. yup, still identical. consistency is a vibe ✨

2008-02-05T18:30:30 = الأسبوع 6 من سنة 2008
1995-12-22T09:05:02 = الأسبوع 51 من سنة 1995
-0010-09-15T04:44:23 = الأسبوع 37 من سنة -10

🎀 yw-count-other (الأسبوع w من سنة Y)

the other form, same story 💜

2008-02-05T18:30:30 = الأسبوع 6 من سنة 2008
1995-12-22T09:05:02 = الأسبوع 51 من سنة 1995
-0010-09-15T04:44:23 = الأسبوع 37 من سنة -10

🎀 yw-count-two (الأسبوع w من سنة Y)

the two form, still here, still identical 💅

2008-02-05T18:30:30 = الأسبوع 6 من سنة 2008
1995-12-22T09:05:02 = الأسبوع 51 من سنة 1995
-0010-09-15T04:44:23 = الأسبوع 37 من سنة -10

🎀 yw-count-zero (الأسبوع w من سنة Y)

and the zero form to close out the plural squad 🎀

2008-02-05T18:30:30 = الأسبوع 6 من سنة 2008
1995-12-22T09:05:02 = الأسبوع 51 من سنة 1995
-0010-09-15T04:44:23 = الأسبوع 37 من سنة -10

🌸 Miscellaneous

two tiny settings, bestie, don't blink 👀

  • Prefers 24 hour time? — Yes ✅
  • Local first day of the week — 1 (which is الاثنين, Monday) 📅

🌈 Strftime Patterns

now the old-school strftime side of things — same three dates, three different patterns 💖

⭐ %c (%d %b, %Y %H:%M:%S) - date time format

the whole shebang: date and time together 🫶

2008-02-05T18:30:30 = 05 فبراير, 2008 18:30:30
1995-12-22T09:05:02 = 22 دجنبر, 1995 09:05:02
-0010-09-15T04:44:23 = 15 شتنبر, -10 04:44:23

⭐ %x (%d %b, %Y) - date format

date only, time left on read 🙈

2008-02-05T18:30:30 = 05 فبراير, 2008
1995-12-22T09:05:02 = 22 دجنبر, 1995
-0010-09-15T04:44:23 = 15 شتنبر, -10

⭐ %X (%Z %H:%M:%S) - time format

time only, with the zone name up front at all times ⏰

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

👑 SUPPORT

need more? go peek at DateTime::Locale — that's the whole pointer, bestie 💜


aaaand that's the page, slay ✨ this one's the DateTim...e::ar_MA(3) page (the truncated name is just how it's titled here, iykyk), shipped with perl v5.42.0 and dated 2024-12-12. go forth and format your dates correctly, mwah 💅💖🎀

📦 where this page comes from