DateTim...ale::ps(3)

✨ NAME ✨

DateTime::Locale::ps — literally the locale data examples for the Pashto (ps) locale 💖

So this is a User Contributed Perl Documentation page, the DateTim...ale::ps(3) one (yes the header truncates it, that's just how the man page title renders, don't come for me 🙈). It's a pod file, and it's basically a giant show-and-tell of what Pashto date and time formatting actually looks like. Slay. Let's go 🎀


🦋 DESCRIPTION 🦋

Bestie, this pod file is literally a museum of examples — it shows off all the locale data that's available for the Pashto locale ✨ Every single formatted string in here is real output, so you can vibe check exactly how things render before you trust your code with them.

🌸 Days

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

  • M
  • T
  • W
  • T
  • F
  • S
  • S
ok so the narrow version is just single letters and yes there are two Ts and two Ss in there — that's the data, not a typo, iykyk 💅

Wide (stand-alone)

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

Abbreviated (stand-alone)

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

Narrow (stand-alone)

  • M
  • T
  • W
  • T
  • F
  • S
  • S

🦋 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
👀 peep that the format and stand-alone versions are not always identical — فبروري vs فېبروري, سېپتمبر vs سپتمبر. Keep your eyes open, bestie, the data said what it said.

💜 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

🧚 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

Ok this next bit is the iconic part — every named format the locale ships, with the exact pattern in parens and the exact three sample strings. Buckle up, it's a long one, and every single one eats 🔥

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 د سېپتمبر

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)

🫶 part 1 stops right here mid-format-list — the pod keeps going in part 2, so don't close the tab, bestie, there's more data coming 💖

...and the format from right before the break wrapped up like this, bestie:

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)

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)

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

yMMMEd (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, اونۍ

yMMMM (y MMMM)

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

yMMMd (y MMM d)

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)

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)

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

yQQQQ (y QQQQ)

2008-02-05T18:30:30 = 2008 لومړۍ ربعه
1995-12-22T09:05:02 = 1995 ۴مه ربعه
-0010-09-15T04:44:23 = -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

yeah, count-one and count-other are giving identical twins here — the outputs match exactly, no cap, that's just how this locale rolls 💅


🌸 Miscellaneous 🌸

two tiny vibe-check fields live here, and they're literally just answered for you:

  • Prefers 24 hour time? — Yes (24h girlies stay winning ✨)
  • Local first day of the week — 1 (دونۍ) (week starts on Monday, as it should 🫶)

🦋 Strftime Patterns 🦋

%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

not me zooming in on that double space before the 5 — it's in the original, so it's in here too, bestie. copied character for character 🙈

%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 💖

need more? go read DateTime::Locale — that's the whole support answer, and honestly it's an iconic one 🌈


and that's the whole page, bestie!! you ate that ngl 👑 this gorgeous little locale doc is from perl v5.42.0 and got its last glow-up on 2024-12-12 — go forth and format your dates with main character energy 🎀💜🦋

📦 where this page comes from