DateTim...e::ar_LY(3)
✨ NAME ✨
DateTime::Locale::ar_LY — locale data examples for the Arabic Libya (ar-LY) locale 💖
(Also hi, bestie — this is a DateTim...e::ar_LY(3) page from the User Contributed Perl Documentation, and it's a chunky one. Part 1 starts now. 🫶)
🌸 DESCRIPTION 🌸
So this pod file is literally a whole show-and-tell of examples of the locale data that's available for the Arabic Libya locale. No cap — it's just demo data so you can see what every format looks like for real dates. 🎀
🗓 Days
Okay so the days section comes in three widths — wide, abbreviated and narrow — and each of those shows up twice: once in format flavour and once in stand-alone flavour. Here's the tea. ☕
Wide (format)
الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد
Abbreviated (format)
Bestie, it's the exact same seven as the wide one in this locale:
الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد
Narrow (format)
Now we get the single-letter era ✨:
ن
ث
ر
خ
ج
س
ح
Wide (stand-alone)
Same energy again:
الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد
Abbreviated (stand-alone)
الاثنين
الثلاثاء
الأربعاء
الخميس
الجمعة
السبت
الأحد
Narrow (stand-alone)
ن
ث
ر
خ
ج
س
ح
🌈 Months
Twelve months, three widths, two flavours each. It's giving thorough. 💅
Wide (format)
يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر
Abbreviated (format)
Identical to the wide versions in this locale, fr fr:
يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر
Narrow (format)
The little one-letter icons of the month world:
ي
ف
م
أ
و
ن
ل
غ
س
ك
ب
د
Wide (stand-alone)
يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر
Abbreviated (stand-alone)
يناير
فبراير
مارس
أبريل
مايو
يونيو
يوليو
أغسطس
سبتمبر
أكتوبر
نوفمبر
ديسمبر
Narrow (stand-alone)
ي
ف
م
أ
و
ن
ل
غ
س
ك
ب
د
🦋 Quarters
Four quarters, and yeah — wide and abbreviated are the same strings here too. Iconic of them honestly.
Wide (format)
الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع
Abbreviated (format)
الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع
Narrow (format)
Now with the Arabic-Indic numerals 🎀:
١
٢
٣
٤
Wide (stand-alone)
الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع
Abbreviated (stand-alone)
الربع الأول
الربع الثاني
الربع الثالث
الربع الرابع
Narrow (stand-alone)
١
٢
٣
٤
👑 Eras
Just two eras, but they show up in all three widths. Short and slay.
Wide (format)
قبل الميلاد
ميلادي
Abbreviated (format)
ق.م
م
Narrow (format)
ق.م
م
💜 Date Formats
Okay this part is honestly the most useful bit — you get four named date styles, and for each one there are three sample timestamps so you can eyeball what the output actually looks like. The three timestamps are always:
2008-02-05T18:30:301995-12-22T09:05:02-0010-09-15T04:44:23
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 deal but for times — four styles, same three timestamps. Notice how Full and Long are identical here, and Medium and Short drop the UTC bit. 👀
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 plus time, glued together with that ، separator. Four styles, three samples, let's go. 🔥
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
This is the big one, bestie — every named format key with its pattern in parentheses, plus the same three sample timestamps rendered through it. Buckle up. 💖
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 ق.م
Not a typo, bestie — that third line really is 15-09--10 ق.م with the double dash. Copy it exactly. 💀
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 the list literally keeps going from here, so the next chunk picks it up 💜
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
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
ok so bestie — those six yw-count-* variants are the plural categories, and all six print exactly the same thing for this locale. Not a typo on my end, I promise. 💅
🌸 MISCELLANEOUS 🌸
Some lil setting vibes, no big deal:
- Prefers 24 hour time? →
No - Local first day of the week →
6 (السبت)
So yeah, it's giving 12-hour clock energy, and the week starts on السبت. Slay. ✨
✨ STRFTIME PATTERNS ✨
Now the classic strftime trio, okay? Each one comes with its pattern in parens and a description of what it's a format for.
%c (%d %b, %Y %I:%M:%S %p) — date time format
2008-02-05T18:30:30 = 05 فبراير, 2008 06: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
2008-02-05T18:30:30 = 05 فبراير, 2008
1995-12-22T09:05:02 = 22 ديسمبر, 1995
-0010-09-15T04:44:23 = 15 سبتمبر, -10
%X (%Z %I:%M:%S %p) — time format
2008-02-05T18:30:30 = UTC 06:30:30 م
1995-12-22T09:05:02 = UTC 09:05:02 ص
-0010-09-15T04:44:23 = UTC 04:44:23 ص
🫶 Notice that%Xhere is doing the%Zthing — zone first, then the 12-hour clock with the AM/PM marker. That's literally what the pattern says. No notes. 💖
💖 SUPPORT 💖
Go look at DateTime::Locale. That's the whole support section, bestie — it's See DateTime::Locale. and honestly that page ate. 🍓
and that's the whole page, fr fr 🌈 — this was DateTim...e::ar_LY(3), the User Contributed Perl Documentation version, put out with perl v5.42.0 on 2024-12-12 🎀 tysm for reading, go format some dates, ily 👑💜
📦 where this page comes from
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 · Artistic-1.0 OR GPL-1.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms