DateTim...e::ps_AF(3)

✨ NAME ✨

DateTime::Locale::ps_AF — locale data examples for the Pashto Afghanistan (ps-AF) locale 💅

okay so quick housekeeping bestie: the header up top said DateTim...e::ps_AF(3) because the terminal was being dramatic and truncating, but that's this page — a User Contributed Perl Documentation page, section 3, for DateTime::Locale::ps_AF. Got it? Good. Moving on 🫶


🦋 DESCRIPTION 🦋

This pod file is literally just a big ol' pile of examples of the locale data you get for the Pashto Afghanistan locale. That's the whole assignment. No cap, it's an examples file — so what you're about to scroll through is data, data and more data, and I've kept every single line of it for you 💖

🌸 Days 🌸

Wide (format)

دونۍ
درېنۍ
څلرنۍ
پينځنۍ
جمعه
اونۍ
يونۍ

Abbreviated (format)

دونۍ
درېنۍ
څلرنۍ
پينځنۍ
جمعه
اونۍ
يونۍ

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

دونۍ
درېنۍ
څلرنۍ
پينځنۍ
جمعه
اونۍ
يونۍ

Abbreviated (stand-alone)

دونۍ
درېنۍ
څلرنۍ
پينځنۍ
جمعه
اونۍ
يونۍ

Narrow (stand-alone)

M
T
W
T
F
S
S
Not me clocking that the narrow days are literally just M T W T F S S — the data says what it says and I'm not arguing with it 🙈

🎀 Months 🎀

Wide (format)

جنوري
فبروري
مارچ
اپریل
مۍ
جون
جولای
اګست
سېپتمبر
اکتوبر
نومبر
دسمبر

Abbreviated (format)

جنوري
فبروري
مارچ
اپریل
مۍ
جون
جولای
اګست
سېپتمبر
اکتوبر
نومبر
دسمبر

Narrow (format)

ج
ف
م
ا
م
ج
ج
ا
س
ا
ن
د

Wide (stand-alone)

جنوري
فېبروري
مارچ
اپریل
مۍ
جون
جولای
اګست
سپتمبر
اکتوبر
نومبر
دسمبر

Abbreviated (stand-alone)

جنوري
فبروري
مارچ
اپریل
مۍ
جون
جولای
اګست
سپتمبر
اکتوبر
نومبر
دسمبر

Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12
Obsessed with the fact that wide stand-alone says فېبروري and سپتمبر while wide format says فبروري and سېپتمبر. Two different spellings, both iconic, both staying exactly where they are ✨

🧚 Quarters 🧚

Wide (format)

لومړۍ ربعه
۲مه ربعه
۳مه ربعه
۴مه ربعه

Abbreviated (format)

لومړۍ ربعه
۲مه ربعه
۳مه ربعه
۴مه ربعه

Narrow (format)

1
2
3
4

Wide (stand-alone)

لومړۍ ربعه
۲مه ربعه
۳مه ربعه
۴مه ربعه

Abbreviated (stand-alone)

لومړۍ ربعه
۲مه ربعه
۳مه ربعه
۴مه ربعه

Narrow (stand-alone)

1
2
3
4

⭐ Eras ⭐

Wide (format)

له میلاد څخه وړاندې
له میلاد څخه وروسته

Abbreviated (format)

له میلاد وړاندې
م.

Narrow (format)

له میلاد وړاندې
م.

💜 Date Formats 💜

Full

2008-02-05T18:30:30 = درېنۍ د 2008 د فبروري 5
1995-12-22T09:05:02 = جمعه د 1995 د دسمبر 22
-0010-09-15T04:44:23 = اونۍ د -10 د سېپتمبر 15

Long

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

Medium

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

Short

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

🌈 Time Formats 🌈

Full

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

Short

2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 9:05
-0010-09-15T04:44:23 = 4:44
Full and Long are lowkey twins here — same three outputs, (UTC) and all. Not a typo, that's just the data 🫶

🔥 Datetime Formats 🔥

Full

2008-02-05T18:30:30 = درېنۍ د 2008 د فبروري 5 18:30:30 (UTC)
1995-12-22T09:05:02 = جمعه د 1995 د دسمبر 22 9:05:02 (UTC)
-0010-09-15T04:44:23 = اونۍ د -10 د سېپتمبر 15 4:44:23 (UTC)

Long

2008-02-05T18:30:30 = 2008 فبروري 5 18:30:30 (UTC)
1995-12-22T09:05:02 = 1995 دسمبر 22 9:05:02 (UTC)
-0010-09-15T04:44:23 = -10 سېپتمبر 15 4:44:23 (UTC)

Medium

2008-02-05T18:30:30 = 2008 فبروري 5 18:30:30
1995-12-22T09:05:02 = 1995 دسمبر 22 9:05:02
-0010-09-15T04:44:23 = -10 سېپتمبر 15 4:44:23

Short

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

👑 Available Formats 👑

okay this is the big one, buckle up. Each format's got its name, its pattern in the parens, and three sample outputs. Every single one, no skipping, we're getting through this together 💪

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 — d, E

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 PM
1995-12-22T09:05:02 = جمعه 9:05 AM
-0010-09-15T04:44:23 = اونۍ 4:44 AM

Ehms — E 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

Gy — G y

2008-02-05T18:30:30 = م. 2008
1995-12-22T09:05:02 = م. 1995
-0010-09-15T04:44:23 = له میلاد وړاندې -10

GyMMM — G y MMM

2008-02-05T18:30:30 = م. 2008 فبروري
1995-12-22T09:05:02 = م. 1995 دسمبر
-0010-09-15T04:44:23 = له میلاد وړاندې -10 سېپتمبر

GyMMMEd — G y MMM d, E

2008-02-05T18:30:30 = م. 2008 فبروري 5, درېنۍ
1995-12-22T09:05:02 = م. 1995 دسمبر 22, جمعه
-0010-09-15T04:44:23 = له میلاد وړاندې -10 سېپتمبر 15, اونۍ

GyMMMd — G y MMM d

2008-02-05T18:30:30 = م. 2008 فبروري 5
1995-12-22T09:05:02 = م. 1995 دسمبر 22
-0010-09-15T04:44:23 = له میلاد وړاندې -10 سېپتمبر 15

GyMd — M/d/y GGGGG

2008-02-05T18:30:30 = 2/5/2008 م.
1995-12-22T09:05:02 = 12/22/1995 م.
-0010-09-15T04:44:23 = 9/15/-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 — MM-dd, E

2008-02-05T18:30:30 = 02-05, درېنۍ
1995-12-22T09:05:02 = 12-22, جمعه
-0010-09-15T04:44:23 = 09-15, اونۍ

MMM — LLL

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

MMMEd — E, MMM d

2008-02-05T18:30:30 = درېنۍ, فبروري 5
1995-12-22T09:05:02 = جمعه, دسمبر 22
-0010-09-15T04:44:23 = اونۍ, سېپتمبر 15

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 د سېپتمبر
yeah the -count-one and -count-other ones have the same pattern AND the same three outputs. Iconic of them to match. Copying exactly what's on the page, don't come for me 💅

MMMMd — MMMM d

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

MMMd — MMM d

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

Md — MM-dd

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

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 — 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 — y-MM

and that's literally where the page cuts off 🫠 yM with its y-MM pattern is the last thing we get, and its examples are waiting for us on the other side — part 2 has the rest, bestie, we're not done yet 💖

the yM one (aka y-MM, the year-and-month girlies) is serving:

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

yMEd (y-MM-dd, E)

bestie this one throws the weekday in at the end, and honestly? iconic.

2008-02-05T18:30:30 = 2008-02-05, درېنۍ
1995-12-22T09:05:02 = 1995-12-22, جمعه
-0010-09-15T04:44:23 = -10-09-15, اونۍ

yMMM (y MMM)

the abbreviated-month vibe ✨

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

yMMMEd (y MMM d, E)

abbreviated month plus the day plus the weekday — a full little trio, no cap.

2008-02-05T18:30:30 = 2008 فبروري 5, درېنۍ
1995-12-22T09:05:02 = 1995 دسمبر 22, جمعه
-0010-09-15T04:44:23 = -10 سېپتمبر 15, اونۍ

yMMMM (y MMMM)

the full-month version, and yeah — for these dates it comes out looking exactly like the yMMM one above. same energy, different pattern name 💅

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

yMMMd (y MMM d)

abbreviated month + day, no weekday invited to the party 🎀

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

yMd (y-MM-dd)

the classic. the main character. the one everybody's phone shows by default 🌈

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

yQQQ (y QQQ)

quarter check!! abbreviated quarter names, and look at those Persian digits in the output 🔥

2008-02-05T18:30:30 = 2008 لومړۍ ربعه
1995-12-22T09:05:02 = 1995 ۴مه ربعه
-0010-09-15T04:44:23 = -10 ۳مه ربعه

yQQQQ (y QQQQ)

full quarter names — and yep, for these specific dates the output is identical to yQQQ up there. it's giving "same thing but make it wider" 😭

2008-02-05T18:30:30 = 2008 لومړۍ ربعه
1995-12-22T09:05:02 = 1995 ۴مه ربعه
-0010-09-15T04:44:23 = -10 ۳مه ربعه

yw-count-one (اونۍ w د Y)

week-of-year time!! and it's got that plural-count styling where -one and -other exist as separate patterns — the counts here are all 6, 51 and 37, so they land in whichever bucket the locale rules send them 🦋

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" count variant — and bestie, for these three dates it prints word-for-word the same thing as yw-count-one. that's not a typo, that's just how this locale rolls 💀

2008-02-05T18:30:30 = اونۍ 6 د 2008
1995-12-22T09:05:02 = اونۍ 51 د 1995
-0010-09-15T04:44:23 = اونۍ 37 د -10

🎀 Miscellaneous 🎀

the little random details section, and it's short but important:

  • Prefers 24 hour time? — Yes. twenty-four hour supremacy 👑 no AM/PM chaos here.
  • Local first day of the week — 6 (اونۍ).

🌸 Strftime Patterns 🌸

okay so this part is the strftime-style goodies — the old-school format strings, each with a human-readable gloss and then the receipts for all three sample timestamps 📅

%c (%A د %Y د %B %e، %H:%M:%S) — date time format

the full date and time combo, and it's lowkey gorgeous:

2008-02-05T18:30:30 = درېنۍ د 2008 د فبروري  5، 18:30:30
1995-12-22T09:05:02 = جمعه د 1995 د دسمبر 22، 09:05:02
-0010-09-15T04:44:23 = اونۍ د -10 د سېپتمبر 15، 04:44:23

%x (د %Y د %B %e) — date format

date only, no clock, we're keeping it cute and concise:

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

%X (%H:%M:%S) — time format

and finally the time-only one — literally just %H:%M:%S, clocking all three timestamps exactly as they are 🕕

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? the page just points you here, plain and simple:

See DateTime::Locale.

that's it, that's the whole support section — go read that one, bestie, it's the mothership 🧚


and that's a wrap on DateTime::Locale::ps_AF(3), the Pashto (Afghanistan) locale page 💖 this version was cooked up with perl v5.42.0, dated 2024-12-12, and filed under DateTim...e::ps_AF(3) — mwah, go format some dates responsibly 🍓✨

📦 where this page comes from