DateTim...:tpi_PG(3)

✨ NAME ✨

okay bestie, this is the manual page for DateTime::Locale::tpi_PG β€” you'll see it squished into the corner as DateTim...:tpi_PG(3), filed under User Contributed Perl Documentation, and it's literally a whole locale-data showcase for the Tok Pisin Papua New Guinea (tpi-PG) locale. πŸ’–

DateTime::Locale::tpi_PG β€” Locale data examples for the Tok Pisin Papua New Guinea (tpi-PG) locale.


🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the Tok Pisin Papua New Guinea locale. no cap, it's giving reference material with main character energy. ✨

πŸ—“οΈ Days πŸ—“οΈ

Wide (format)

Mande
Tunde
Trinde
Fonde
Fraide
Sarere
Sande

Abbreviated (format)

Mande
Tunde
Trinde
Fonde
Fraide
Sarere
Sande

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

Mande
Tunde
Trinde
Fonde
Fraide
Sarere
Sande

Abbreviated (stand-alone)

Mande
Tunde
Trinde
Fonde
Fraide
Sarere
Sande

Narrow (stand-alone)

M
T
W
T
F
S
S

πŸ¦‹ Months πŸ¦‹

Wide (format)

Janueri
Februeri
Mas
Epril
Me
Jun
Julai
Ogas
Septemba
Oktoba
Novemba
Desemba

Abbreviated (format)

Janueri
Februeri
Mas
Epril
Me
Jun
Julai
Ogas
Septemba
Oktoba
Novemba
Desemba

Narrow (format)

1
2
3
4
5
6
7
8
9
10
11
12

Wide (stand-alone)

Janueri
Februeri
Mas
Epril
Me
Jun
Julai
Ogas
Septemba
Oktoba
Novemba
Desemba

Abbreviated (stand-alone)

Janueri
Februeri
Mas
Epril
Me
Jun
Julai
Ogas
Septemba
Oktoba
Novemba
Desemba

Narrow (stand-alone)

1
2
3
4
5
6
7
8
9
10
11
12

πŸŽ€ Quarters πŸŽ€

Wide (format)

Q1
Q2
Q3
Q4

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

Q1
Q2
Q3
Q4

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

🌈 Eras 🌈

Wide (format)

BCE
CE

Abbreviated (format)

BCE
CE

Narrow (format)

BCE
CE

πŸ’… Date Formats πŸ’…

Full

2008-02-05T18:30:30 = 2008 Februeri 5, Tunde
1995-12-22T09:05:02 = 1995 Desemba 22, Fraide
-0010-09-15T04:44:23 = -10 Septemba 15, Sarere

Long

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

Medium

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

Short

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

⏰ Time Formats ⏰

Full

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

Long

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

Medium

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

Short

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

πŸ’œ Datetime Formats πŸ’œ

Full

2008-02-05T18:30:30 = 2008 Februeri 5, Tunde 18:30:30 UTC
1995-12-22T09:05:02 = 1995 Desemba 22, Fraide 09:05:02 UTC
-0010-09-15T04:44:23 = -10 Septemba 15, Sarere 04:44:23 UTC

Long

2008-02-05T18:30:30 = 2008 Februeri 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 Desemba 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 Septemba 15 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 2008 Februeri 5 18:30:30
1995-12-22T09:05:02 = 1995 Desemba 22 09:05:02
-0010-09-15T04:44:23 = -10 Septemba 15 04:44:23

Short

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

πŸ”₯ Available Formats πŸ”₯

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 = Tunde
1995-12-22T09:05:02 = Fraide
-0010-09-15T04:44:23 = Sarere

EBhm (E h:mm B)

2008-02-05T18:30:30 = Tunde 6:30 B
1995-12-22T09:05:02 = Fraide 9:05 B
-0010-09-15T04:44:23 = Sarere 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = Tunde 6:30:30 B
1995-12-22T09:05:02 = Fraide 9:05:02 B
-0010-09-15T04:44:23 = Sarere 4:44:23 B

EHm (E HH:mm)

2008-02-05T18:30:30 = Tunde 18:30
1995-12-22T09:05:02 = Fraide 09:05
-0010-09-15T04:44:23 = Sarere 04:44

EHms (E HH:mm:ss)

2008-02-05T18:30:30 = Tunde 18:30:30
1995-12-22T09:05:02 = Fraide 09:05:02
-0010-09-15T04:44:23 = Sarere 04:44:23

Ed (d, E)

2008-02-05T18:30:30 = 5, Tunde
1995-12-22T09:05:02 = 22, Fraide
-0010-09-15T04:44:23 = 15, Sarere

Ehm (E h:mm a)

2008-02-05T18:30:30 = Tunde 6:30 PM
1995-12-22T09:05:02 = Fraide 9:05 AM
-0010-09-15T04:44:23 = Sarere 4:44 AM

Ehms (E h:mm:ss a)

2008-02-05T18:30:30 = Tunde 6:30:30 PM
1995-12-22T09:05:02 = Fraide 9:05:02 AM
-0010-09-15T04:44:23 = Sarere 4:44:23 AM

Gy (G y)

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

GyMMM (G y MMM)

2008-02-05T18:30:30 = CE 2008 Februeri
1995-12-22T09:05:02 = CE 1995 Desemba
-0010-09-15T04:44:23 = BCE -10 Septemba

GyMMMEd (G y MMM d, E)

2008-02-05T18:30:30 = CE 2008 Februeri 5, Tunde
1995-12-22T09:05:02 = CE 1995 Desemba 22, Fraide
-0010-09-15T04:44:23 = BCE -10 Septemba 15, Sarere

GyMMMd (G y MMM d)

2008-02-05T18:30:30 = CE 2008 Februeri 5
1995-12-22T09:05:02 = CE 1995 Desemba 22
-0010-09-15T04:44:23 = BCE -10 Septemba 15

GyMd (GGGGG y-MM-dd)

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

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, Tunde
1995-12-22T09:05:02 = 12-22, Fraide
-0010-09-15T04:44:23 = 09-15, Sarere

MMM (LLL)

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

MMMEd (MMM d, E)

2008-02-05T18:30:30 = Februeri 5, Tunde
1995-12-22T09:05:02 = Desemba 22, Fraide
-0010-09-15T04:44:23 = Septemba 15, Sarere

MMMMW-count-other ('week' W 'of' MMMM)

2008-02-05T18:30:30 = week 1 of Februeri
1995-12-22T09:05:02 = week 3 of Desemba
-0010-09-15T04:44:23 = week 2 of Septemba

MMMMd (MMMM d)

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

MMMd (MMM d)

2008-02-05T18:30:30 = Februeri 5
1995-12-22T09:05:02 = Desemba 22
-0010-09-15T04:44:23 = Septemba 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)

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, Tunde
1995-12-22T09:05:02 = 1995-12-22, Fraide
-0010-09-15T04:44:23 = -10-09-15, Sarere

yMMM (y MMM)

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

yMMMEd (y MMM d, E)

2008-02-05T18:30:30 = 2008 Februeri 5, Tunde
1995-12-22T09:05:02 = 1995 Desemba 22, Fraide
-0010-09-15T04:44:23 = -10 Septemba 15, Sarere

yMMMM (y MMMM)

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

yMMMd (d MMM y)

2008-02-05T18:30:30 = 5 Februeri 2008
1995-12-22T09:05:02 = 22 Desemba 1995
-0010-09-15T04:44:23 = 15 Septemba -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 (y QQQ)

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

yQQQQ (y QQQQ)

okay so this is exactly where part 1 cuts off, bestie β€” the examples for yQQQQ (y QQQQ) are waiting in part 2. πŸ’–

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

okay and the week-of-year one, bestie, look at this β€” it's called yw-count-other ('week' w 'of' Y) and it literally spells out the whole thing in words:

          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

the way it just says "week 6 of 2008" like it's telling you a little story 😭 precious. and yes she handles negative years too, we stan a thorough queen πŸ‘‘


🌸 Miscellaneous 🌸

okay these next two are like the little personality settings of the locale, the vibe check questions πŸ’…

Prefers 24 hour time?

Yes β€” she's on that 24-hour grind, no AM/PM chaos for her πŸ•°οΈ

Local first day of the week

1 (Mande) β€” week starts on day 1, which in this locale is called Mande (that's Monday energy, iykyk) πŸ“…


πŸŽ€ Strftime Patterns πŸŽ€

these are the big three, the holy trinity of date formatting icons β€” %c, %x, %X πŸ‘‘ and each one comes with its own little recipe and three worked examples. no cap, they're giving:

%c (%a %d %b %Y %T) β€” date time format

          2008-02-05T18:30:30 = Tunde 05 Februeri 2008 18:30:30
          1995-12-22T09:05:02 = Fraide 22 Desemba 1995 09:05:02
         -0010-09-15T04:44:23 = Sarere 15 Septemba -10 04:44:23

the full meal deal β€” weekday, day, month, year, time. Tunde, Fraide, Sarere, Februeri, Desemba, Septemba β€” these are the locale's own little words and we are NOT translating them, they're iconic as-is πŸ¦‹

%x (%d/%m/%Y) β€” date format

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

day slash month slash year, in that order, periodt. and yes, 15/09/-10 β€” the negative year is still in there, she's not hiding it πŸ™ˆ

%X (%r) β€” time format

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

interesting little plot twist β€” the locale prefers 24-hour time (we literally just read that), but this strftime pattern %r still outputs 12-hour with AM/PM. so like, %X is out here doing its own thing πŸ’€ just noting what's on the page, not my business, moving on ✨


πŸ’– SUPPORT πŸ’–

need more? the page says it plain and simple:

See DateTime::Locale.

that's it, that's the whole support section, she's direct and I respect it 🫢


okay that's the whole page, bestie, you made it to the end πŸŽ‰ this puppy is from perl v5.42.0, dated 2024-12-12 β€” so like, respect your elders, she's been around πŸ’œ go format some dates, you got this πŸ’…βœ¨

πŸ“¦ where this page comes from