DateTim...e::pt_ST(3)

🦋 NAME 🦋

DateTime::Locale::pt_ST(3) — locale data examples for the Portuguese São Tomé & Príncipe (pt-ST) locale. This one's from the User Contributed Perl Documentation set, and the manual name is literally DateTime::Locale::pt_ST(3). It's giving “all the example locale data, in one pod file” energy. 💅

🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the Portuguese São Tomé & Príncipe locale. That's the whole vibe, bestie: a showcase of locale data examples for pt-ST. No cap. ✨

🗓️ Days 🗓️

Okay so first up: days. Wide format goes like this:

🌈 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 🎀

Months time, and yes, it's iconic. Wide format first:

🌈 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 lowkey underrated, fr fr. Here's the wide format:

🌈 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, but make it historical. Wide format:

🌈 Wide (format)

antes de Cristo
depois de Cristo

✂️ Abbreviated (format)

a.C.
d.C.

🔤 Narrow (format)

a.C.
d.C.

📅 Date Formats 📅

Here's the date-format vibe check, with all the example outputs. 🫶

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. The clock is clocking. 🕰️

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 plus time, together, slaying. 💖

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 🛍️

This is the big one — every available format key and its example outputs. Buckle up. 🎀

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)

...and the one whose name got cut in half at the split? yeah, it's just chilling here doing its thing — here's what it spits out, no cap:

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

yMMM — skeleton MM/y 🎀

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

yMMMEEEEd — skeleton EEEE, d/MM/y 💅 the full weekday name gets to be main character here

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 — skeleton E, d/MM/y, weekday in its short form era

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 — skeleton MMMM 'de' y, the month-name-only serve ✨

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 — skeleton ccc, d 'de' MMMM 'de' y, the full deluxe edition with the de glue words

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 — skeleton d 'de' MMMM 'de' y, same vibes minus the weekday

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 — skeleton d/MM/y, slash slash slash

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 — skeleton dd/MM/y, note the day gets zero-padded in the pattern but bestie look at that 22 in the second example, it just does its own thing 😭

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 — skeleton QQQQ 'de' y (yes fr, that's what's written down, I'm just the messenger 🫶) — quarter names, iconic

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 — skeleton QQQQ 'de' y, same output as its sibling above, twins fr fr

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 — skeleton w.'ª' 'semana' 'de' Y, the "count-one" plural form 🌸

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 — skeleton w.'ª' 'semana' 'de' Y, and the "count-other" one, which gives literally the same answers 💀

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 🦋

Couple quick facts, bestie, write these down:

  • Prefers 24 hour time? — Yes. Twenty-four hour girlies, we ate 🔥
  • Local first day of the week — 1 (segunda-feira)

✨ Strftime Patterns ✨

Okay so these are the old-school strftime style ones — the skeleton is in the parentheses and the three test dates show you exactly what you get 👑

%c (%a %d %b %Y %T) — date time format, the whole package together

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, just the date, no drama

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, clock only ⏰

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 💖

Where do you go with questions? Simple:

See DateTime::Locale.

That's the whole support section. Short king behavior, honestly 👑


And that's the page, bestie! This lil masterpiece is from perl v5.42.0, dated 2024-12-12, and it's the DateTim...e::pt_ST(3) page — go forth and format your Portuguese (São Tomé) dates with confidence 🎀💜✨

📦 where this page comes from