DateTim...e::en_PG(3)
NAME π
Okay bestie, this is the DateTim...e::en_PG(3) page, straight outta the User Contributed Perl Documentation. The actual module is DateTime::Locale::en_PG β Locale data examples for the English Papua New Guinea (en-PG) locale. That's it, that's the name, no cap.
DESCRIPTION πΈ
This pod file is literally a showcase of the locale data examples available for the English Papua New Guinea locale. It's giving reference material, but make it a vibe β days, months, quarters, eras, date formats, time formats, datetime formats, and a whole lot of available formats. Let's get into it. π
Days ποΈ
Wide (format) β¨
Full day names, main character energy:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Abbreviated (format) βοΈ
The short versions, still cute:
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Narrow (format) π
One letter each, minimal but iconic:
M
T
W
T
F
S
S
Wide (stand-alone) β¨
Same full names, standing alone and thriving:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Abbreviated (stand-alone) βοΈ
Same abbreviations, no context needed:
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Narrow (stand-alone) π
Same single letters, still serving:
M
T
W
T
F
S
S
Months π
Wide (format) β¨
Full month names, the whole lineup:
January
February
March
April
May
June
July
August
September
October
November
December
Abbreviated (format) βοΈ
Short month names, with Sept doing its own thing:
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec
Narrow (format) π
Single letters, yes there are duplicates, that's the data:
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone) β¨
Full names again, standing alone:
January
February
March
April
May
June
July
August
September
October
November
December
Abbreviated (stand-alone) βοΈ
Abbreviated names again:
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec
Narrow (stand-alone) π
Narrow names again:
J
F
M
A
M
J
J
A
S
O
N
D
Quarters π
Wide (format) β¨
Spelled-out quarters:
1st quarter
2nd quarter
3rd quarter
4th quarter
Abbreviated (format) βοΈ
The Q versions:
Q1
Q2
Q3
Q4
Narrow (format) π
Just numbers:
1
2
3
4
Wide (stand-alone) β¨
Spelled-out quarters, stand-alone:
1st quarter
2nd quarter
3rd quarter
4th quarter
Abbreviated (stand-alone) βοΈ
Abbreviated quarters, stand-alone:
Q1
Q2
Q3
Q4
Narrow (stand-alone) π
Narrow quarters, stand-alone:
1
2
3
4
Eras ποΈ
Wide (format) β¨
The full era names:
Before Christ
Anno Domini
Abbreviated (format) βοΈ
The short era labels:
BC
AD
Narrow (format) π
The narrow era letters:
B
A
Date Formats π
Full π₯
2008-02-05T18:30:30 = Tuesday, 5 February 2008
1995-12-22T09:05:02 = Friday, 22 December 1995
-0010-09-15T04:44:23 = Saturday, 15 September -10
Long π₯
2008-02-05T18:30:30 = 5 February 2008
1995-12-22T09:05:02 = 22 December 1995
-0010-09-15T04:44:23 = 15 September -10
Medium π₯
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -10
Short π₯
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
Time Formats β°
Full π₯
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
Long π₯
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
Medium π₯
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
Short π₯
2008-02-05T18:30:30 = 6:30 pm
1995-12-22T09:05:02 = 9:05 am
-0010-09-15T04:44:23 = 4:44 am
Datetime Formats ποΈ
Full π₯
2008-02-05T18:30:30 = Tuesday, 5 February 2008, 6:30:30 pm UTC
1995-12-22T09:05:02 = Friday, 22 December 1995, 9:05:02 am UTC
-0010-09-15T04:44:23 = Saturday, 15 September -10, 4:44:23 am UTC
Long π₯
2008-02-05T18:30:30 = 5 February 2008, 6:30:30 pm UTC
1995-12-22T09:05:02 = 22 December 1995, 9:05:02 am UTC
-0010-09-15T04:44:23 = 15 September -10, 4:44:23 am UTC
Medium π₯
2008-02-05T18:30:30 = 5 Feb 2008, 6:30:30 pm
1995-12-22T09:05:02 = 22 Dec 1995, 9:05:02 am
-0010-09-15T04:44:23 = 15 Sept -10, 4:44:23 am
Short π₯
2008-02-05T18:30:30 = 05/02/2008, 6:30 pm
1995-12-22T09:05:02 = 22/12/1995, 9:05 am
-0010-09-15T04:44:23 = 15/09/-10, 4:44 am
Available Formats π
Okay this is the big one, bestie. Every available format label is here with its pattern in parentheses, plus the three example timestamps. It's a lot, but we're not skipping a single one. Periodt. π
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 = Tue
1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat
EBhm (E h:mm B)
2008-02-05T18:30:30 = Tue 6:30 B
1995-12-22T09:05:02 = Fri 9:05 B
-0010-09-15T04:44:23 = Sat 4:44 B
EBhms (E h:mm:ss B)
2008-02-05T18:30:30 = Tue 6:30:30 B
1995-12-22T09:05:02 = Fri 9:05:02 B
-0010-09-15T04:44:23 = Sat 4:44:23 B
EHm (E HH:mm)
2008-02-05T18:30:30 = Tue 18:30
1995-12-22T09:05:02 = Fri 09:05
-0010-09-15T04:44:23 = Sat 04:44
EHms (E HH:mm:ss)
2008-02-05T18:30:30 = Tue 18:30:30
1995-12-22T09:05:02 = Fri 09:05:02
-0010-09-15T04:44:23 = Sat 04:44:23
Ed (E d)
2008-02-05T18:30:30 = Tue 5
1995-12-22T09:05:02 = Fri 22
-0010-09-15T04:44:23 = Sat 15
Ehm (E h:mm a)
2008-02-05T18:30:30 = Tue 6:30 pm
1995-12-22T09:05:02 = Fri 9:05 am
-0010-09-15T04:44:23 = Sat 4:44 am
Ehm-alt-ascii (E h:mm a)
2008-02-05T18:30:30 = Tue 6:30 pm
1995-12-22T09:05:02 = Fri 9:05 am
-0010-09-15T04:44:23 = Sat 4:44 am
Ehms (E h:mm:ss a)
2008-02-05T18:30:30 = Tue 6:30:30 pm
1995-12-22T09:05:02 = Fri 9:05:02 am
-0010-09-15T04:44:23 = Sat 4:44:23 am
Ehms-alt-ascii (E h:mm:ss a)
2008-02-05T18:30:30 = Tue 6:30:30 pm
1995-12-22T09:05:02 = Fri 9:05:02 am
-0010-09-15T04:44:23 = Sat 4:44:23 am
Gy (y G)
2008-02-05T18:30:30 = 2008 AD
1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC
GyMMM (MMM y G)
2008-02-05T18:30:30 = Feb 2008 AD
1995-12-22T09:05:02 = Dec 1995 AD
-0010-09-15T04:44:23 = Sept -10 BC
GyMMMEd (E, d MMM y G)
2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Sat, 15 Sept -10 BC
GyMMMd (d MMM y G)
2008-02-05T18:30:30 = 5 Feb 2008 AD
1995-12-22T09:05:02 = 22 Dec 1995 AD
-0010-09-15T04:44:23 = 15 Sept -10 BC
GyMd (d/M/y G)
2008-02-05T18:30:30 = 5/2/2008 AD
1995-12-22T09:05:02 = 22/12/1995 AD
-0010-09-15T04:44:23 = 15/9/-10 BC
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 = Tue, 05/02
1995-12-22T09:05:02 = Fri, 22/12
-0010-09-15T04:44:23 = Sat, 15/09
MMM (LLL)
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
MMMEd (E, d MMM)
2008-02-05T18:30:30 = Tue, 5 Feb
1995-12-22T09:05:02 = Fri, 22 Dec
-0010-09-15T04:44:23 = Sat, 15 Sept
MMMMW-count-one ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
MMMMW-count-other ('week' W 'of' MMMM)
2008-02-05T18:30:30 = week 1 of February
1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September
MMMMd (d MMMM)
2008-02-05T18:30:30 = 5 February
1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September
MMMd (d MMM)
2008-02-05T18:30:30 = 5 Feb
1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept
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 (dd/MM)
2008-02-05T18:30:30 = 05/02
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09
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
h-alt-ascii (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
hm-alt-ascii (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
hms-alt-ascii (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
hmsv-alt-ascii (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
hmv-alt-ascii (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` (MM/y) β just month + year, minimal queen behavior π
2008-02-05T18:30:30 = 02/2008 1995-12-22T09:05:02 = 12/1995 -0010-09-15T04:44:23 = 09/-10
### `yMEd` (E, dd/MM/y) β weekday tag along for the ride
2008-02-05T18:30:30 = Tue, 05/02/2008 1995-12-22T09:05:02 = Fri, 22/12/1995 -0010-09-15T04:44:23 = Sat, 15/09/-10
### `yMMM` (MMM y) β abbreviated month, no notes π
2008-02-05T18:30:30 = Feb 2008 1995-12-22T09:05:02 = Dec 1995 -0010-09-15T04:44:23 = Sept -10
### `yMMMEd` (E, d MMM y) β the full little package
2008-02-05T18:30:30 = Tue, 5 Feb 2008 1995-12-22T09:05:02 = Fri, 22 Dec 1995 -0010-09-15T04:44:23 = Sat, 15 Sept -10
### `yMMMM` (MMMM y) β month said in FULL, main character energy π
2008-02-05T18:30:30 = February 2008 1995-12-22T09:05:02 = December 1995 -0010-09-15T04:44:23 = September -10
### `yMMMd` (d MMM y) β day first, very euro of it
2008-02-05T18:30:30 = 5 Feb 2008 1995-12-22T09:05:02 = 22 Dec 1995 -0010-09-15T04:44:23 = 15 Sept -10
### `yMd` (dd/MM/y) β numbers only, no vibes spared
2008-02-05T18:30:30 = 05/02/2008 1995-12-22T09:05:02 = 22/12/1995 -0010-09-15T04:44:23 = 15/09/-10
### `yQQQ` (QQQ y) β quarter, abbreviated bestie
2008-02-05T18:30:30 = Q1 2008 1995-12-22T09:05:02 = Q4 1995 -0010-09-15T04:44:23 = Q3 -10
### `yQQQQ` (QQQQ y) β quarter but spelled all the way OUT β¨
2008-02-05T18:30:30 = 1st quarter 2008 1995-12-22T09:05:02 = 4th quarter 1995 -0010-09-15T04:44:23 = 3rd quarter -10
### `yw-count-one` ('week' w 'of' Y) β week number, one-flavored πΈ
2008-02-05T18:30:30 = week 6 of 2008 1995-12-22T09:05:02 = week 51 of 1995 -0010-09-15T04:44:23 = week 37 of -10
### `yw-count-other` ('week' w 'of' Y) β same energy, other-flavored π¦
2008-02-05T18:30:30 = week 6 of 2008 1995-12-22T09:05:02 = week 51 of 1995 -0010-09-15T04:44:23 = week 37 of -10
---
# π MISCELLANEOUS π
The little leftover settings, iykyk:
- **Prefers 24 hour time?** No.
- **Local first day of the week:** `1` (Monday).
Not me being a Monday-week-start locale, iconic.
---
# β° STRFTIME PATTERNS β°
These are the classic `strftime`-style escapes, fr fr. Same three test dates, three different formats:
### `%c` (`%a %b %e %H:%M:%S %Y`) β date time format
2008-02-05T18:30:30 = Tue Feb 5 18:30:30 2008 1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995 -0010-09-15T04:44:23 = Sat Sept 15 04:44:23 -10
(Yes, there rly are two spaces after `Feb` β that's `%e`, it pads. Leave it π)
### `%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 π«Ά
Wanna know more? See `DateTime::Locale`. That's the whole support section, bestie β go touch the locale grass π±
---
> That's the whole page! No more mystery, you now know *everything* about how this locale wants its dates dressed up. Slay π
And that's a wrap on this one β brought to you by **perl v5.42.0**, dated **2024-12-12**, page `DateTim...e::en_PG(3)`. Go forth and format responsibly πβ¨
π¦ 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