DateTim...e::pt_LU(3)
✨ NAME ✨
DateTime::Locale::pt_LU — locale data examples for the Portuguese Luxembourg (pt-LU) locale. That's the whole vibe, bestie. 🎀
(Also hi, you're in DateTim...e::pt_LU(3) from the User Contributed Perl Documentation — welcome, you're gonna love it here. 💖)
🦋 DESCRIPTION 🦋
okay so this pod file is literally a whole tour of the locale data available for the Portuguese Luxembourg locale. No hidden lore, no gotchas — just examples of every single string this locale hands you, grouped by category. Let's go, we're doing all of it. 💅
🌸 Days
Seven days, Portuguese, and yes almost all of them are out here with the -feira suffix like it's a personality trait. 🎀
Wide (format)
segunda-feira
terça-feira
quarta-feira
quinta-feira
sexta-feira
sábado
domingo
Abbreviated (format)
same days, shorter — the -feira said bye ✌️
segunda
terça
quarta
quinta
sexta
sábado
domingo
Narrow (format)
single letters only, and before you come for me: Q shows up twice and S shows up three times because that's genuinely what the data says. 💀
S
T
Q
Q
S
S
D
Wide (stand-alone)
literally the same list as the wide format one, just standing on its own business. 👑
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
Twelve months, all lowercase energy, março with the cedilla fully intact. We love a diacritic moment. ✨
Wide (format)
janeiro
fevereiro
março
abril
maio
junho
julho
agosto
setembro
outubro
novembro
dezembro
Abbreviated (format)
three letters and a period, neat and tidy 🎀
jan.
fev.
mar.
abr.
mai.
jun.
jul.
ago.
set.
out.
nov.
dez.
Narrow (format)
one letter each — J, M and A are out here doing double duty and honestly? iconic. 👑
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
Four quarters, and they're serving ordinal-indicator realness with that little º. 🫶
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
Two eras, and the abbreviated and narrow versions are identical — a.C. and d.C. both times. Not a glitch, that's just the data. 🌈
Wide (format)
antes de Cristo
depois de Cristo
Abbreviated (format)
a.C.
d.C.
Narrow (format)
a.C.
d.C.
📅 Date Formats
Four lengths, and every single one gets tested against the same three timestamps: 2008-02-05T18:30:30, 1995-12-22T09:05:02, and the chaotic little -0010-09-15T04:44:23 (the year rendering as -10, yes, it's giving time traveler 🙈). Let's see how each one dresses up.
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
Same three timestamps, now it's clock hours only. Heads up: Full and Long are literally identical here, both with UTC hanging off the end — that's what's in the file, bestie. 🔥
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
no UTC anymore, we're just vibing with the numbers 🌸
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
down to hours and minutes, cute and efficient 💅
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, glued together with a comma. All four lengths, same three test timestamps. Let's get into it. ✨
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 this is the big one, bestie. Every available format for this locale, each with its pattern in parentheses and the same three sample timestamps so you can see exactly what it outputs. Grab a snack, we're going through all of them. 🍓
Bh (h B)
bare hour plus the B moment 💅
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)
the weekday, abbreviated-style 🦋
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)
weekday, comma, 24-hour clock 🌈
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)
and here come the p.m. / a.m. girlies 🎀
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)
year plus era, and look at the negative year doing its thing 😭
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)
the literal 'de' is baked into the pattern, iykyk 💜
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)
the full stack — weekday, day, abbreviated month, year, era. she ate. 👑
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)
narrow era in the house, so it's the short a.C. / d.C. 🦋
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)
just the hour, zero-padded, no notes 🌸
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)
the v brings UTC along 🔥
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)
just the month number, and september is showing up as 9 not 09 — that's literally the data, don't shoot the messenger 💀
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)
abbreviated month, period included, no notes 🎀
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)
weekday + day + full month name, all comfy ✨
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)
the week-of-month one, count-one flavor 💅
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)
count-other flavor — same pattern, same outputs, listed separately because that's how the file rolls 🫶
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)
just the day, unbothered, moisturised, in its lane 🌸
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
h (h a)
12-hour clock plus a.m. / p.m. — lowercase with periods, that's the rule here 🎀
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)
12-hour plus the v-driven UTC 🌈
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)
minutes and seconds only — and yes, 30:30 for the first one, that's real 🙈
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)
month over year, and the negative year is still out here living its truth 😭
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 this one's examples roll straight into part two, bestie — we're not done yet 💅
yMMM (MM/y)
month + year, month first, cute and compact:
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)
the full weekday name swoops in first, then day/month/year:
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 is abbreviated, she's keeping it short:
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, and the little 'de' literal holding it together 🫶
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 full deluxe version, weekday + day + month + year, all glued with 'de':
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 eating:
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 the numeric slashes, no cap:
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)
the day gets zero-padded here, she's being precise:
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 szn 😭 note that the pattern says QQQQ and the output is literally the same as the next one:
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)
and the "long" quarter version, which — plot twist — is identical:
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. the literal bits are .'ª', 'semana' and 'de' 💅
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)
and the plural/other flavour — same pattern, same output, no notes:
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 🎀
two quick vibe checks, no notes:
- Prefers 24 hour time? Yes
- Local first day of the week: 1 (segunda-feira)
✨ STRFTIME PATTERNS ✨
%c (%a %d %b %Y %T) - date time format
the whole date and time, full send:
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 bestie:
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
and just the time, iconic little clock:
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 the whole page, babes 🦋 go forth and format. this one's perl v5.42.0, dated 2024-12-12, page DateTim...e::pt_LU(3) — mwah, signed off with love 🌸
📦 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