DateTim...e::ar_EH(3)

🌸 DateTime::Locale::ar_EH — locale data for Arabic Western Sahara (ar-EH) 🌸

okay bestie, so this is a User Contributed Perl Documentation page — the manual name up top is DateTim...e::ar_EH(3) (yes it's truncated like that, that's the actual title, don't come for me 💅). It's the docs for DateTime::Locale::ar_EH, and it's basically a giant show-and-tell of every single piece of locale data you get for the Arabic Western Sahara locale. Every string, every format, every example timestamp — it's all here and it's all iconic. Let's go 🫶


✨ NAME ✨

DateTime::Locale::ar_EH — locale data examples for the Arabic Western Sahara (ar-EH) locale 🌍


💖 DESCRIPTION 💖

This pod file contains examples of the locale data available for the Arabic Western Sahara locale. That's literally the whole vibe — it's a sampler platter of what ar-EH gives you for days, months, quarters, eras, dates, times, datetimes, and a whole pile of named formats. No cap, it's thorough. 😭


🦋 Days 🦋

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

ن
ث
ر
خ
ج
س
ح

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

ن
ث
ر
خ
ج
س
ح
ngl the wide and abbreviated day names are the same here — she said why have two outfits when one slays 💅 — and the narrow ones are just cute little single letters doing main character energy.

🌈 Months 🌈

Wide (format)

يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر

Abbreviated (format)

يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر

Narrow (format)

ي
ف
م
أ
و
ن
ل
غ
س
ك
ب
د

Wide (stand-alone)

يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر

Abbreviated (stand-alone)

يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر

Narrow (stand-alone)

ي
ف
م
أ
و
ن
ل
غ
س
ك
ب
د
twelve months, twelve icons 🎀 wide and abbreviated match again (consistency queen), and narrow is the single-letter era.

⭐ Quarters ⭐

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

١
٢
٣
٤

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

١
٢
٣
٤
four quarters, four vibes 💜 — and yes narrow is using the Arabic-Indic digits ١, ٢, ٣, ٤, we love a script-accurate moment.

👑 Eras 👑

Wide (format)

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

Abbreviated (format)

ق.م
م

Narrow (format)

ق.م
م
only three flavors for eras bestie — format only, no stand-alone section here, that's just how it is, don't @ me 💀

🎀 Date Formats 🎀

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
four levels of date detail, from full-glam to speed-run ⚡ and yes there's that chaotic negative year showing up as -10 in there, we respect it.

🧚 Time Formats 🧚

Full

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

Long

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

Medium

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

Short

2008-02-05T18:30:30 = 6:30 م
1995-12-22T09:05:02 = 9:05 ص
-0010-09-15T04:44:23 = 4:44 ص
ص and م are your AM/PM besties ✨ Full and Long are twins (both carry the UTC), while Medium and Short drop the timezone — Short also loses the seconds because she's booked and busy.

💀 Datetime Formats 💀

Full

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

Long

2008-02-05T18:30:30 = 5 فبراير 2008، 6:30:30 م UTC
1995-12-22T09:05:02 = 22 ديسمبر 1995، 9:05:02 ص UTC
-0010-09-15T04:44:23 = 15 سبتمبر -10، 4:44:23 ص UTC

Medium

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

Short

2008-02-05T18:30:30 = 5/2/2008، 6:30 م
1995-12-22T09:05:02 = 22/12/1995، 9:05 ص
-0010-09-15T04:44:23 = 15/9/-10، 4:44 ص
date + time, glued together with the Arabic comma ، and honestly? it's giving "calendar app screenshot" 🔥 same four widths as before, same timezone rules.

🔥 Available Formats 🔥

okay this is the big one — every named pattern in the locale, with the pattern in parens and three example datetimes each. Buckle up bestie, 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 = الثلاثاء
1995-12-22T09:05:02 = الجمعة
-0010-09-15T04:44:23 = السبت

EBhm — 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 — 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 — 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 — 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 — E، d

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

Ehm — 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 — 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 — y G

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

GyMMM — MMM y G

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

GyMMMEd — 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 — 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 — 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 ق.م

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

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

MEd — 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 — LLL

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

MMMEd — E، d MMM

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

MMMMEd — E، d MMMM

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

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

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

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

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

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

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

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

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

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

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

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

2008-02-05T18:30:30 = الأسبوع 1 من فبراير
1995-12-22T09:05:02 = الأسبوع 3 من ديسمبر
-0010-09-15T04:44:23 = الأسبوع 2 من سبتمبر
the MMMMW-count-* girlies all share the exact same pattern and the exact same examples — that's the plural-rule variants doing their thing, and they're all serving the same look 💅

MMMMd — d MMMM

…and that's just the tail end of the format we were already halfway through 🫶 — here come the three sample lines, then we keep rolling:

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

Okay so yes, year -10 is a real thing over here and we are not panicking about it. Negative years said hi and stayed 🦋

MMMd (d MMM)

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

Day number, then a short month name. Clean, minimal, slay 💅

MMdd (dd/MM)

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

Zero-padded day first, month second — do not get this backwards, bestie, I'm begging 🙈

Md (d/M)

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

Same order as MMdd, just no padding — the lowkey version.

d (d)

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

Just the day number, standing alone, main character energy ✨

h (h a)

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

Twelve-hour clock plus the ص / م marker — that's Arabic for the AM/PM situation ⭐

hm (h:mm a)

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)

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)

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

The v at the end is the time zone name getting its little moment — and here it's literally UTC 🔥

hmv (h:mm a v)

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)

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

Minutes and seconds, no hours, unbothered, living its truth 🎀

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 = الثلاثاء، 5/2/2008
1995-12-22T09:05:02 = الجمعة، 22/12/1995
-0010-09-15T04:44:23 = السبت، 15/9/-10

Weekday name first, separated by ،, then the numeric date. Note the separator is that Arabic comma, not the one on your keyboard — copy it exactly, no cap 🧚

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 = فبراير 2008
1995-12-22T09:05:02 = ديسمبر 1995
-0010-09-15T04:44:23 = سبتمبر -10

yMMMEd (E، d MMM y)

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

yMMMM (MMMM y)

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

yMMMd (d MMM y)

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)

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)

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

Quarter of the year, abbreviated-flavoured 👑

yQQQQ (QQQQ y)

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

Okay so QQQ and QQQQ hand back the exact same strings here. That's just what the data says, I don't make the rules 💀

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

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)

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)

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)

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)

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)

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

Six whole plural buckets — zero, one, two, few, many, other — and every single one of them returns the identical string. The pattern never changes either: الأسبوع w من سنة Y across the board. Consistency is a vibe, honestly 🌈


✨ Miscellaneous ✨

Little odds and ends, the side-quest section:

  • Prefers 24 hour time? — No 😌
  • Local first day of the week — 1 (الاثنين)

So the week starts on 1, and 1 here is الاثنين. Noted, respected, filed away 🎀


🌸 Strftime Patterns 🌸

The classic strftime crew — the OGs you already know from C, just wearing Arabic clothes 💅

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

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

Heads up: that's two spaces between فبراير and 5 in the first line — %e is space-padded, so yes, that's intentional, don't you dare "fix" it 🫶

%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

Careful — %x is month/day/year here, while the CLDR-style patterns up top were day/month. Different system, different order, same girl 😭

%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

24-hour clock, zero-padded, absolutely no AM/PM nonsense. Iconic ⭐


🌈 SUPPORT 🌈

See DateTime::Locale. That's the whole support section, bestie — go read the parent module, it has the answers 👑


okay that's a wrap on the whole page 🫶 this one shipped as part of perl v5.42.0 and it's dated 2024-12-12, so if you're reading this on some ancient perl, go update, I'm literally begging you 💖✨🦋

📦 where this page comes from