DateTim...:ar_001(3)

💅 DateTime::Locale::ar_001(3) 💅

okay so bestie, welcome to DateTime::Locale::ar_001(3) — the manual page for the locale data examples for the Arabic world (ar-001) locale. yes, that's the whole vibe: this page is a lookbook of what Arabic-world dates and times actually look like when Perl formats them. it's giving data-model realness and honestly? iconic. 🌍✨


🌸 NAME 🌸

DateTime::Locale::ar_001 — Locale data examples for the Arabic world (ar-001) locale

like, that's it. that's the name. no notes. 💅


🎀 DESCRIPTION 🎀

okay so real talk: this pod file is literally just examples of the locale data available for the Arabic world locale. it's a showcase, a little fashion week for date formats. every list below is exactly what you'd get out of the locale — no cap, nothing invented, nothing summarised. 🦋


☀️ Days ☀️

the week, but make it Arabic. note that format and stand-alone are literally the same here — the locale said "why would I change, I'm perfect." 👑

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

ن
ث
ر
خ
ج
س
ح

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

ن
ث
ر
خ
ج
س
ح

🌙 Months 🌙

twelve months of the year and they're all serving full words even in the abbreviated slot — the Arabic world said "abbreviate? never heard of her." 💀

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

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

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

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

🧚 Quarters 🧚

four quarters, and the wide + abbreviated versions are the actual full phrase — "الربع الأول" and friends. the narrow ones are just the Arabic-Indic digits ١ ٢ ٣ ٤. lowkey obsessed with the range. ✨

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

١
٢
٣
٤

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

١
٢
٣
٤

🏛️ Eras 🏛️

just the two of them. the before-times and the now-times. 💫

Wide (format)

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

Abbreviated (format)

ق.م
م

Narrow (format)

ق.م
م

📅 Date Formats 📅

three timestamps get run through every format so you can see exactly how they land: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and the little gremlin that is -0010-09-15T04:44:23 (yes, negative year, she's dramatic, we love her). 🌈

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 ⏰

same three timestamps, but now it's clock o'clock. notice how Full and Long are literally twins here — and how م (PM) and ص (AM) show up, with UTC riding along in the first two. 🕰️

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 ص

💖 Datetime Formats 💖

date + time, holding hands. the full Arabic comma ، is the moment, honestly. 🫶

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 ص

👑 Available Formats 👑

bestie, this is the big one. every named format key the locale ships, with its pattern in parentheses and the same three timestamps rendered through it. buckle up, 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 ق.م
ok the 15-09--10 double dash is not a typo, bestie — that's the negative year showing up in a numeric format. she's literally fine. 💀

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 من سبتمبر

MMMMd (d MMMM)

and bestie we're gonna have to pause right here, because the examples for MMMMd (d MMMM) and the rest of the format list are literally in part 2. 💅 don't go anywhere, we're not even done slaying.

(...picking up mid-parade, the pattern list keeps going 💅)

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

MMMd (d MMM)

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

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 م
1995-12-22T09:05:02 = 9 ص
-0010-09-15T04:44:23 = 4 ص

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

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

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

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

yQQQQ (QQQQ y)

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

okay and now the week-number era — six whole variants, all identical output, bestie. don't ask, it's a plural-rules thing 💀

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

🌸 Miscellaneous 🌸

the lil odds-and-ends corner, we love her

Prefers 24 hour time?

No

Local first day of the week

1 (الاثنين)


⏰ Strftime Patterns ⏰

the classic C-library-style ones, for when you're feeling vintage ✨

%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 bestie: that february line has a double space in it (فبراير 5). that's not me being sloppy, that's exactly what's printed. copy it as-is 💅

%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. short and iconic 👑


okay periodt, that's the whole page bestie 💖 this absolute unit of an Arabic (ar_001) locale page shipped as part of perl v5.42.0, dated 2024-12-12 — go format some dates, you're gonna slay 🦋✨

📦 where this page comes from