DateTim...:pa_Guru(3)

DateTime::Locale::pa_Guru(3) 💅

okay bestie, quick vibe check before we dive in: this is a page from User Contributed Perl Documentation, and the star of the show is DateTime::Locale::pa_Guru. Like, the manual name got squished into the header as DateTim...:pa_Guru(3) but we all know who she is. 🎀


🌸 NAME

DateTime::Locale::pa_Guru — Locale data examples for the Punjabi Gurmukhi (pa-Guru) locale. Slay, that's literally it, and she's iconic for it.


✨ DESCRIPTION

So this pod file is basically a showcase, right? It's full of examples of the locale data that's available for the Punjabi Gurmukhi locale. Think of it as a lil' lookbook for all the date-and-time strings — no cap, it's giving "here's exactly what you get." 💖


🦋 Days

Wide (format)

ਸਮਵਾਰ
ਮਗਲਵਾਰ
ਬਧਵਾਰ
ਵੀਰਵਾਰ
ਸਕਰਵਾਰ
ਸਨਿਚਰਵਾਰ
ਐਤਵਾਰ

Abbreviated (format)

ਸਮ
ਮਗਲ
ਬਧ
ਵੀਰ
ਸਕਰ
ਸਨਿਚਰ
ਐਤ

Narrow (format)

ਸੋ
ਮੰ
ਬੱ
ਵੀ
ਸੱ
ਸ਼
ਐ

Wide (stand-alone)

ਸਮਵਾਰ
ਮਗਲਵਾਰ
ਬਧਵਾਰ
ਵੀਰਵਾਰ
ਸਕਰਵਾਰ
ਸਨਿਚਰਵਾਰ
ਐਤਵਾਰ

Abbreviated (stand-alone)

ਸਮ
ਮਗਲ
ਬਧ
ਵੀਰ
ਸਕਰ
ਸਨਿਚਰ
ਐਤ

Narrow (stand-alone)

ਸੋ
ਮੰ
ਬੱ
ਵੀ
ਸੱ
ਸ਼
ਐ

🌈 Months

Wide (format)

ਜਨਵਰੀ
ਫਰਵਰੀ
ਮਾਰਚ
ਅਪਰਲ
ਮਈ
ਜਨ
ਜਲਾਈ
ਅਗਸਤ
ਸਤਬਰ
ਅਕਤਬਰ
ਨਵਬਰ
ਦਸਬਰ

Abbreviated (format)

ਜਨ
ਫਰ
ਮਾਰਚ
ਅਪਰੈ
ਮਈ
ਜਨ
ਜਲਾ
ਅਗ
ਸਤੰ
ਅਕਤੂ
ਨਵੰ
ਦਸੰ

Narrow (format)

ਜ
ਫ਼
ਮਾ
ਅ
ਮ
ਜੂ
ਜੁ
ਅ
ਸ
ਅ
ਨ
ਦ

Wide (stand-alone)

ਜਨਵਰੀ
ਫਰਵਰੀ
ਮਾਰਚ
ਅਪਰਲ
ਮਈ
ਜਨ
ਜਲਾਈ
ਅਗਸਤ
ਸਤਬਰ
ਅਕਤਬਰ
ਨਵਬਰ
ਦਸਬਰ

Abbreviated (stand-alone)

ਜਨ
ਫਰ
ਮਾਰਚ
ਅਪਰੈ
ਮਈ
ਜਨ
ਜਲਾ
ਅਗ
ਸਤੰ
ਅਕਤੂ
ਨਵੰ
ਦਸੰ

Narrow (stand-alone)

ਜ
ਫ਼
ਮਾ
ਅ
ਮ
ਜੂ
ਜੁ
ਅ
ਸ
ਅ
ਨ
ਦ

🎀 Quarters

Wide (format)

ਪਹਿਲੀ ਤਿਮਾਹੀ
ਦਜੀ ਤਿਮਾਹੀ
ਤੀਜੀ ਤਿਮਾਹੀ
ਚਥੀ ਤਿਮਾਹੀ

Abbreviated (format)

ਤਿਮਾਹੀ1
ਤਿਮਾਹੀ2
ਤਿਮਾਹੀ3
ਤਿਮਾਹੀ4

Narrow (format)

1
2
3
4

Wide (stand-alone)

ਪਹਿਲੀ ਤਿਮਾਹੀ
ਦਜੀ ਤਿਮਾਹੀ
ਤੀਜੀ ਤਿਮਾਹੀ
ਚਥੀ ਤਿਮਾਹੀ

Abbreviated (stand-alone)

ਤਿਮਾਹੀ1
ਤਿਮਾਹੀ2
ਤਿਮਾਹੀ3
ਤਿਮਾਹੀ4

Narrow (stand-alone)

1
2
3
4

👑 Eras

Wide (format)

ਈਸਵੀ ਪਰਵ
ਈਸਵੀ ਸਨ

Abbreviated (format)

ਈ. ਪ.
ਸਨ

Narrow (format)

ਈ.ਪ.
ਸਨ

🔥 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 = 5 ਫਰ 2008
1995-12-22T09:05:02 = 22 ਦਸੰ 1995
-0010-09-15T04:44:23 = 15 ਸਤੰ -10

Short

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

⭐ 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 ਪ.ਦ.

🧚 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 = 5 ਫਰ 2008, 6:30:30 ਬਾ.ਦ.
1995-12-22T09:05:02 = 22 ਦਸੰ 1995, 9:05:02 ਪ.ਦ.
-0010-09-15T04:44:23 = 15 ਸਤੰ -10, 4:44:23 ਪ.ਦ.

Short

2008-02-05T18:30:30 = 5/2/08, 6:30 ਬਾ.ਦ.
1995-12-22T09:05:02 = 22/12/95, 9:05 ਪ.ਦ.
-0010-09-15T04:44:23 = 15/9/-10, 4:44 ਪ.ਦ.

💜 Available Formats

okay this is the big one, bestie — every single available format, laid out with the same three timestamps so you can compare at a glance. Obsessed with the consistency tbh. 🫶

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 ਬਾ.ਦ.
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 (G y)

2008-02-05T18:30:30 = ਸਨ 2008
1995-12-22T09:05:02 = ਸਨ 1995
-0010-09-15T04:44:23 = ਈ. ਪ. -10

GyMMM (MMM, G y)

2008-02-05T18:30:30 = ਫਰ, ਸਨ 2008
1995-12-22T09:05:02 = ਦਸ, ਸਨ 1995
-0010-09-15T04:44:23 = ਸਤ, ਈ. ਪ. -10

GyMMMEd (E d MMM, G y)

2008-02-05T18:30:30 = ਮਗਲ 5 ਫਰ, ਸਨ 2008
1995-12-22T09:05:02 = ਸਕਰ 22 ਦਸ, ਸਨ 1995
-0010-09-15T04:44:23 = ਸਨਿਚਰ 15 ਸਤ, ਈ. ਪ. -10

GyMMMd (d MMM, G y)

2008-02-05T18:30:30 = 5 ਫਰ, ਸਨ 2008
1995-12-22T09:05:02 = 22 ਦਸ, ਸਨ 1995
-0010-09-15T04:44:23 = 15 ਸਤ, ਈ. ਪ. -10

GyMd (d/M/GGGGG 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

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, dd-MM.)

2008-02-05T18:30:30 = ਮਗਲ, 05-02.
1995-12-22T09:05:02 = ਸਕਰ, 22-12.
-0010-09-15T04:44:23 = ਸਨਿਚਰ, 15-09.

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 ਸਤੰ

MMMMW-count-one (MMMM ਦਾ W ਹਫਤਾ)

2008-02-05T18:30:30 = ਫਰਵਰੀ ਦਾ 1 ਹਫਤਾ
1995-12-22T09:05:02 = ਦਸਬਰ ਦਾ 3 ਹਫਤਾ
-0010-09-15T04:44:23 = ਸਤਬਰ ਦਾ 2 ਹਫਤਾ

MMMMW-count-other (MMMM ਦਾ W ਹਫਤਾ)

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 (d MMM)

2008-02-05T18:30:30 = 5 ਫਰ
1995-12-22T09:05:02 = 22 ਦਸੰ
-0010-09-15T04:44:23 = 15 ਸਤੰ

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)

…and finishing off that last pattern's examples first, because we do not leave a bestie hanging ✨

2008-02-05T18:30:30 = 6:30:30 ਬਾ.ਦ.
1995-12-22T09:05:02 = 9:05:02 ਪ.ਦ.
-0010-09-15T04:44:23 = 4:44:23 ਪ.ਦ.

Okay and now the rest of the pattern list, one icon after another 👑

  • 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
  • mmss (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
  • ms (mm:ss) — yes bestie, it also says mm:ss, that is not a typo on my part, that is literally what it says 💀
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
  • 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 = ਤਿਮਾਹੀ1 2008
1995-12-22T09:05:02 = ਤਿਮਾਹੀ4 1995
-0010-09-15T04:44:23 = ਤਿਮਾਹੀ3 -10
  • yQQQQ (QQQQ y)
2008-02-05T18:30:30 = ਪਹਿਲੀ ਤਿਮਾਹੀ 2008
1995-12-22T09:05:02 = ਚਥੀ ਤਿਮਾਹੀ 1995
-0010-09-15T04:44:23 = ਤੀਜੀ ਤਿਮਾਹੀ -10
  • yw-count-one (Y ਦਾ w ਹਫਤਾ)
2008-02-05T18:30:30 = 2008 ਦਾ 6 ਹਫਤਾ
1995-12-22T09:05:02 = 1995 ਦਾ 51 ਹਫਤਾ
-0010-09-15T04:44:23 = -10 ਦਾ 37 ਹਫਤਾ
  • yw-count-other (Y ਦਾ w ਹਫਤਾ)
2008-02-05T18:30:30 = 2008 ਦਾ 6 ਹਫਤਾ
1995-12-22T09:05:02 = 1995 ਦਾ 51 ਹਫਤਾ
-0010-09-15T04:44:23 = -10 ਦਾ 37 ਹਫਤਾ
🫶 quick note bestie: yw-count-one and yw-count-other literally print the same thing for all three sample datetimes. That's not me being lazy, that's the data. Plural-form keys, identical output. Slay, I guess.

🌸 Miscellaneous 🌸

The lil grab-bag of "how does this locale like to do things" energy:

  • Prefers 24 hour time? — No
  • Local first day of the week — 1 (ਸਮਵਾਰ)

🎀 Strftime Patterns 🎀

Okay this part is so satisfying, it's the strftime girlies getting their moment 💅 three patterns, three sample dates each, all spotless:

  • %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
🙈 yes there are two spaces between ਫਰ and 5 in that first line. That's the %e doing %e things (space-padded day, periodt). Copied exactly, don't come for me.
  • %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 🫶

That's the whole thing, bestie:

  • See DateTime::Locale.

Like, actually go look at it. It's the main character of this whole situation 👑✨


and that's a wrap on the Punjabi locale data tour 🦋 — this page came from perl v5.42.0, dated 2024-12-12, and it's filed under DateTim...:pa_Guru(3) in the User Contributed Perl Documentation. go forth and format your datetimes correctly, i'm obsessed with you fr fr 💖🎀

📦 where this page comes from