DateTim...e::pt_GW(3)

💖 NAME 💖

okay bestie, this is DateTim...e::pt_GW(3), a User Contributed Perl Documentation page — the title gets the dramatic ellipsis treatment, and the module behind it is DateTime::Locale::pt_GW.

DateTime::Locale::pt_GW — locale data examples for the Portuguese Guinea-Bissau (pt-GW) locale. That's the whole name-section moment: very specific locale, very cute data. Periodt.


🦋 DESCRIPTION 🦋

okay so this pod file contains examples of the locale data available for the Portuguese Guinea-Bissau locale. literally that's the assignment, and the rest of this page is the receipts.

🌸 Days 🌸

bestie, the days show up in format and stand-alone flavors, and in wide / abbreviated / narrow widths. I'm listing every single one because we do not skip details here.

Wide (format)

segunda-feira
terça-feira
quarta-feira
quinta-feira
sexta-feira
sábado
domingo

Abbreviated (format)

segunda
terça
quarta
quinta
sexta
sábado
domingo

Narrow (format)

S
T
Q
Q
S
S
D

Wide (stand-alone)

segunda-feira
terça-feira
quarta-feira
quinta-feira
sexta-feira
sábado
domingo

Abbreviated (stand-alone)

segunda
terça
quarta
quinta
sexta
sábado
domingo

Narrow (stand-alone)

S
T
Q
Q
S
S
D

🎀 Months 🎀

same energy, but for months. wide names, cute little abbreviations with periods, and narrow single letters. all the flavors below, no cap.

Wide (format)

janeiro
fevereiro
março
abril
maio
junho
julho
agosto
setembro
outubro
novembro
dezembro

Abbreviated (format)

jan.
fev.
mar.
abr.
mai.
jun.
jul.
ago.
set.
out.
nov.
dez.

Narrow (format)

J
F
M
A
M
J
J
A
S
O
N
D

Wide (stand-alone)

janeiro
fevereiro
março
abril
maio
junho
julho
agosto
setembro
outubro
novembro
dezembro

Abbreviated (stand-alone)

jan.
fev.
mar.
abr.
mai.
jun.
jul.
ago.
set.
out.
nov.
dez.

Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D

🦋 Quarters 🦋

quarters are giving "1.º trimestre" energy in wide form, T1 in abbreviated form, and just the digit in narrow form. here's every version, format and stand-alone.

Wide (format)

1.º trimestre
2.º trimestre
3.º trimestre
4.º trimestre

Abbreviated (format)

T1
T2
T3
T4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1.º trimestre
2.º trimestre
3.º trimestre
4.º trimestre

Abbreviated (stand-alone)

T1
T2
T3
T4

Narrow (stand-alone)

1
2
3
4

✨ Eras ✨

eras have wide, abbreviated, and narrow forms. yes, a.C. and d.C. are showing up twice because narrow and abbreviated match here — still listing both.

Wide (format)

antes de Cristo
depois de Cristo

Abbreviated (format)

a.C.
d.C.

Narrow (format)

a.C.
d.C.

🌈 Date Formats 🌈

these are the date formats with the same three timestamp examples every time: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and that iconically negative -0010-09-15T04:44:23. all outputs are exactly below.

Full

2008-02-05T18:30:30 = terça-feira, 5 de fevereiro de 2008
1995-12-22T09:05:02 = sexta-feira, 22 de dezembro de 1995
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10

Long

2008-02-05T18:30:30 = 5 de fevereiro de 2008
1995-12-22T09:05:02 = 22 de dezembro de 1995
-0010-09-15T04:44:23 = 15 de setembro de -10

Medium

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

Short

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

⭐ Time Formats ⭐

time formats, bestie. full and long are twinning with UTC, medium drops the zone, short keeps it cute with just hours and minutes.

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 💜

date + time = the full main-character combo. same three examples, all four lengths, every comma and UTC exactly where it belongs.

Full

2008-02-05T18:30:30 = terça-feira, 5 de fevereiro de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = sexta-feira, 22 de dezembro de 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10, 04:44:23 UTC

Long

2008-02-05T18:30:30 = 5 de fevereiro de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 de dezembro de 1995, 09:05:02 UTC
-0010-09-15T04:44:23 = 15 de setembro de -10, 04:44:23 UTC

Medium

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

Short

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

👑 Available Formats 👑

okay here's the big list of named formats. each heading shows the format key and its pattern, and then the three timestamp examples. I'm keeping every single one — yes, even the ones where the output is just a number. obsessed with thoroughness.

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 = terça
1995-12-22T09:05:02 = sexta
-0010-09-15T04:44:23 = sábado

EBhm (E h:mm B)

2008-02-05T18:30:30 = terça 6:30 B
1995-12-22T09:05:02 = sexta 9:05 B
-0010-09-15T04:44:23 = sábado 4:44 B

EBhms (E h:mm:ss B)

2008-02-05T18:30:30 = terça 6:30:30 B
1995-12-22T09:05:02 = sexta 9:05:02 B
-0010-09-15T04:44:23 = sábado 4:44:23 B

EHm (E, HH:mm)

2008-02-05T18:30:30 = terça, 18:30
1995-12-22T09:05:02 = sexta, 09:05
-0010-09-15T04:44:23 = sábado, 04:44

EHms (E, HH:mm:ss)

2008-02-05T18:30:30 = terça, 18:30:30
1995-12-22T09:05:02 = sexta, 09:05:02
-0010-09-15T04:44:23 = sábado, 04:44:23

Ed (E, d)

2008-02-05T18:30:30 = terça, 5
1995-12-22T09:05:02 = sexta, 22
-0010-09-15T04:44:23 = sábado, 15

Ehm (E, h:mm a)

2008-02-05T18:30:30 = terça, 6:30 p.m.
1995-12-22T09:05:02 = sexta, 9:05 a.m.
-0010-09-15T04:44:23 = sábado, 4:44 a.m.

Ehms (E, h:mm:ss a)

2008-02-05T18:30:30 = terça, 6:30:30 p.m.
1995-12-22T09:05:02 = sexta, 9:05:02 a.m.
-0010-09-15T04:44:23 = sábado, 4:44:23 a.m.

Gy (y G)

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

GyMMM (MMM 'de' y G)

2008-02-05T18:30:30 = fev. de 2008 d.C.
1995-12-22T09:05:02 = dez. de 1995 d.C.
-0010-09-15T04:44:23 = set. de -10 a.C.

GyMMMEd (E, d 'de' MMM 'de' y G)

2008-02-05T18:30:30 = terça, 5 de fev. de 2008 d.C.
1995-12-22T09:05:02 = sexta, 22 de dez. de 1995 d.C.
-0010-09-15T04:44:23 = sábado, 15 de set. de -10 a.C.

GyMMMd (d 'de' MMM 'de' y G)

2008-02-05T18:30:30 = 5 de fev. de 2008 d.C.
1995-12-22T09:05:02 = 22 de dez. de 1995 d.C.
-0010-09-15T04:44:23 = 15 de set. de -10 a.C.

GyMd (dd/MM/y GGGGG)

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

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 = terça, 05/02
1995-12-22T09:05:02 = sexta, 22/12
-0010-09-15T04:44:23 = sábado, 15/09

MMM (LLL)

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

MMMEd (E, d/MM)

2008-02-05T18:30:30 = terça, 5/02
1995-12-22T09:05:02 = sexta, 22/12
-0010-09-15T04:44:23 = sábado, 15/09

MMMMEd (ccc, d 'de' MMMM)

2008-02-05T18:30:30 = terça, 5 de fevereiro
1995-12-22T09:05:02 = sexta, 22 de dezembro
-0010-09-15T04:44:23 = sábado, 15 de setembro

MMMMW-count-one (W.'ª' 'semana' 'de' MMMM)

2008-02-05T18:30:30 = 1.ª semana de fevereiro
1995-12-22T09:05:02 = 3.ª semana de dezembro
-0010-09-15T04:44:23 = 2.ª semana de setembro

MMMMW-count-other (W.'ª' 'semana' 'de' MMMM)

2008-02-05T18:30:30 = 1.ª semana de fevereiro
1995-12-22T09:05:02 = 3.ª semana de dezembro
-0010-09-15T04:44:23 = 2.ª semana de setembro

MMMMd (d 'de' MMMM)

2008-02-05T18:30:30 = 5 de fevereiro
1995-12-22T09:05:02 = 22 de dezembro
-0010-09-15T04:44:23 = 15 de setembro

MMMd (d/MM)

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

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 p.m.
1995-12-22T09:05:02 = 9 a.m.
-0010-09-15T04:44:23 = 4 a.m.

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 p.m.
1995-12-22T09:05:02 = 9:05 a.m.
-0010-09-15T04:44:23 = 4:44 a.m.

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 p.m.
1995-12-22T09:05:02 = 9:05:02 a.m.
-0010-09-15T04:44:23 = 4:44:23 a.m.

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 p.m. UTC
1995-12-22T09:05:02 = 9:05:02 a.m. UTC
-0010-09-15T04:44:23 = 4:44:23 a.m. UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 p.m. UTC
1995-12-22T09:05:02 = 9:05 a.m. UTC
-0010-09-15T04:44:23 = 4:44 a.m. 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)

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)

2008-02-05T18:30:30 = terça, 05/02/2008
1995-12-22T09:05:02 = sexta, 22/12/1995
-0010-09-15T04:44:23 = sábado, 15/09/-10

yMM (MM/y)

yMMM (MM/y) — month + year, nice and compact ✨ here's what it spits out for our three test dates:

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

yMMMEEEEd (EEEE, d/MM/y) — full weekday name in there, and yes she's serving:

2008-02-05T18:30:30 = terça-feira, 5/02/2008
1995-12-22T09:05:02 = sexta-feira, 22/12/1995
-0010-09-15T04:44:23 = sábado, 15/09/-10

yMMMEd (E, d/MM/y) — same energy but the weekday gets abbreviated, lowkey obsessed:

2008-02-05T18:30:30 = terça, 5/02/2008
1995-12-22T09:05:02 = sexta, 22/12/1995
-0010-09-15T04:44:23 = sábado, 15/09/-10

yMMMM (MMMM 'de' y) — full month name, with the little 'de' glue words 💅

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

yMMMMEd (ccc, d 'de' MMMM 'de' y) — the maximalist one, weekday AND full month AND both des:

2008-02-05T18:30:30 = terça, 5 de fevereiro de 2008
1995-12-22T09:05:02 = sexta, 22 de dezembro de 1995
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10

yMMMMd (d 'de' MMMM 'de' y) — same but no weekday, still gorgeous:

2008-02-05T18:30:30 = 5 de fevereiro de 2008
1995-12-22T09:05:02 = 22 de dezembro de 1995
-0010-09-15T04:44:23 = 15 de setembro de -10

yMMMd (d/MM/y) — back to numeric month, short king:

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

yMd (dd/MM/y) — day gets zero-padded, tiny detail, big difference 🎀

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 (QQQQ 'de' y) — quarter time!! the 1.º / 4.º / 3.º numbering is so specific and I love that for us:

2008-02-05T18:30:30 = 1.º trimestre de 2008
1995-12-22T09:05:02 = 4.º trimestre de 1995
-0010-09-15T04:44:23 = 3.º trimestre de -10

yQQQQ (QQQQ 'de' y) — same pattern string, same output, no that's not a typo, it's literally identical and we respect it:

2008-02-05T18:30:30 = 1.º trimestre de 2008
1995-12-22T09:05:02 = 4.º trimestre de 1995
-0010-09-15T04:44:23 = 3.º trimestre de -10

yw-count-one (w.'ª' 'semana' 'de' Y) — week-of-year, singular flavour, that little ª is doing so much work:

2008-02-05T18:30:30 = 6.ª semana de 2008
1995-12-22T09:05:02 = 51.ª semana de 1995
-0010-09-15T04:44:23 = 37.ª semana de -10

yw-count-other (w.'ª' 'semana' 'de' Y) — plural/other flavour, same output as its sibling, they're matching 🤝

2008-02-05T18:30:30 = 6.ª semana de 2008
1995-12-22T09:05:02 = 51.ª semana de 1995
-0010-09-15T04:44:23 = 37.ª semana de -10

🌸 Miscellaneous 🌸

Some quick rapid-fire facts about this locale, bestie:

Prefers 24 hour time?

Yes. Twenty-four hour girlie through and through ⏰

Local first day of the week

1 (segunda-feira) — Monday is where the week starts, periodt.


✨ Strftime Patterns ✨

Okay so these are the classic strftime-style ones, iykyk:

%c (%a %d %b %Y %T) — date time format

2008-02-05T18:30:30 = terça 05 fev. 2008 18:30:30
1995-12-22T09:05:02 = sexta 22 dez. 1995 09:05:02
-0010-09-15T04:44:23 = sábado 15 set. -10 04:44:23

%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

%X (%T) — 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 🫶

See DateTime::Locale. That's it, that's the whole support section — she keeps it cute and concise 💖


And that's the page, babe! This lil masterpiece is from perl v5.42.0, dated 2024-12-12 — iconic, timeless, and honestly? It ate. 🦋💅👑

📦 where this page comes from