DateTim...e::es_PE(3)
β¨ DateTime::Locale::es_PE β¨
ok so before we even get into it: this page is DateTime::Locale::es_PE(3) β that's the title, and the (3) means it hangs out in section 3 of the manual, specifically the User Contributed Perl Documentation corner of it. we're folding that in here so we can get straight to the good stuff π«Ά
Bestie, this is a pod file full of locale data examples for the Spanish Peru (es-PE) locale. It's basically a giant show-and-tell of how dates, times, days, months, quarters and eras get formatted in Spanish Peru. Settle in π
πΈ NAME πΈ
DateTime::Locale::es_PE β locale data examples for the Spanish Peru (es-PE) locale. That's it, that's the whole name π
π¦ DESCRIPTION π¦
This pod file contains examples of the locale data available for the Spanish Peru locale. Think of it as a vibe check for every single way you can write out a date in es-PE β¨
π Days π
πΈ Wide (format)
lunes
martes
miΓ©rcoles
jueves
viernes
sΓ‘bado
domingo
πΈ Abbreviated (format)
lun
mar
miΓ©
jue
vie
sΓ‘b
dom
πΈ Narrow (format)
L
M
M
J
V
S
D
not twoMs looking like a typo β that's genuinelymartesandmiΓ©rcolesboth squishing down toM, no cap π
πΈ Wide (stand-alone)
lunes
martes
miΓ©rcoles
jueves
viernes
sΓ‘bado
domingo
πΈ Abbreviated (stand-alone)
lun
mar
miΓ©
jue
vie
sΓ‘b
dom
πΈ Narrow (stand-alone)
L
M
M
J
V
S
D
π Months π
πΈ Wide (format)
enero
febrero
marzo
abril
mayo
junio
julio
agosto
setiembre
octubre
noviembre
diciembre
πΈ Abbreviated (format)
ene.
feb.
mar.
abr.
may.
jun.
jul.
ago.
set.
oct.
nov.
dic.
the little dots at the end are part of the fit, don't come for them π
πΈ Narrow (format)
E
F
M
A
M
J
J
A
S
O
N
D
πΈ Wide (stand-alone)
Enero
Febrero
Marzo
Abril
Mayo
Junio
Julio
Agosto
Setiembre
Octubre
Noviembre
Diciembre
πΈ Abbreviated (stand-alone)
Ene.
Feb.
Mar.
Abr.
May.
Jun.
Jul.
Ago.
Set.
Oct.
Nov.
Dic.
πΈ Narrow (stand-alone)
E
F
M
A
M
J
J
A
S
O
N
D
π Quarters π
πΈ 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 π
πΈ Wide (format)
antes de Cristo
despuΓ©s de Cristo
πΈ Abbreviated (format)
a.C.
d.C.
πΈ Narrow (format)
a.C.
d.C.
and yes bestie, that's only three flavours of era β no stand-alone section here, that's just how it is π§
π Date Formats π
okay so these are the receipts: a timestamp on the left, and what the date actually looks like on the right π
πΈ Full
2008-02-05T18:30:30 = martes, 5 de febrero de 2008
1995-12-22T09:05:02 = viernes, 22 de diciembre de 1995
-0010-09-15T04:44:23 = sΓ‘bado, 15 de setiembre de -10
πΈ Long
2008-02-05T18:30:30 = 5 de febrero de 2008
1995-12-22T09:05:02 = 22 de diciembre de 1995
-0010-09-15T04:44:23 = 15 de setiembre de -10
πΈ Medium
2008-02-05T18:30:30 = 5 feb. 2008
1995-12-22T09:05:02 = 22 dic. 1995
-0010-09-15T04:44:23 = 15 set. -10
πΈ Short
2008-02-05T18:30:30 = 5/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/-10
β Time Formats β
same energy, but clock only π
πΈ Full
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
πΈ Long
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
πΈ Medium
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.
πΈ Short
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.
see how Medium and Short drop the UTC? Full and Long keep it. lowkey the whole point of the four widths π
π Datetime Formats π
the collab we've all been waiting for β date π€ time π₯
πΈ Full
2008-02-05T18:30:30 = martes, 5 de febrero de 2008, 6:30:30 p. m. UTC
1995-12-22T09:05:02 = viernes, 22 de diciembre de 1995, 9:05:02 a. m. UTC
-0010-09-15T04:44:23 = sΓ‘bado, 15 de setiembre de -10, 4:44:23 a. m. UTC
πΈ Long
2008-02-05T18:30:30 = 5 de febrero de 2008, 6:30:30 p. m. UTC
1995-12-22T09:05:02 = 22 de diciembre de 1995, 9:05:02 a. m. UTC
-0010-09-15T04:44:23 = 15 de setiembre de -10, 4:44:23 a. m. UTC
πΈ Medium
2008-02-05T18:30:30 = 5 feb. 2008, 6:30:30 p. m.
1995-12-22T09:05:02 = 22 dic. 1995, 9:05:02 a. m.
-0010-09-15T04:44:23 = 15 set. -10, 4:44:23 a. m.
πΈ Short
2008-02-05T18:30:30 = 5/02/08, 6:30 p. m.
1995-12-22T09:05:02 = 22/12/95, 9:05 a. m.
-0010-09-15T04:44:23 = 15/09/-10, 4:44 a. m.
π§ Available Formats π§
okay this is the big one β every named format pattern this locale ships, with the pattern in the parentheses and the three sample outputs underneath. no skipping, we're doing all of them πͺ
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 = mar
1995-12-22T09:05:02 = vie
-0010-09-15T04:44:23 = sΓ‘b
EBhm(E h:mm B)
2008-02-05T18:30:30 = mar 6:30 B
1995-12-22T09:05:02 = vie 9:05 B
-0010-09-15T04:44:23 = sΓ‘b 4:44 B
EBhms(E h:mm:ss B)
2008-02-05T18:30:30 = mar 6:30:30 B
1995-12-22T09:05:02 = vie 9:05:02 B
-0010-09-15T04:44:23 = sΓ‘b 4:44:23 B
EHm(E, HH:mm)
2008-02-05T18:30:30 = mar, 18:30
1995-12-22T09:05:02 = vie, 09:05
-0010-09-15T04:44:23 = sΓ‘b, 04:44
EHms(E, HH:mm:ss)
2008-02-05T18:30:30 = mar, 18:30:30
1995-12-22T09:05:02 = vie, 09:05:02
-0010-09-15T04:44:23 = sΓ‘b, 04:44:23
Ed(E d)
2008-02-05T18:30:30 = mar 5
1995-12-22T09:05:02 = vie 22
-0010-09-15T04:44:23 = sΓ‘b 15
Ehm(E, h:mm a)
2008-02-05T18:30:30 = mar, 6:30 p. m.
1995-12-22T09:05:02 = vie, 9:05 a. m.
-0010-09-15T04:44:23 = sΓ‘b, 4:44 a. m.
Ehms(E, h:mm:ss a)
2008-02-05T18:30:30 = mar, 6:30:30 p. m.
1995-12-22T09:05:02 = vie, 9:05:02 a. m.
-0010-09-15T04:44:23 = sΓ‘b, 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 y G)
2008-02-05T18:30:30 = feb. 2008 d.C.
1995-12-22T09:05:02 = dic. 1995 d.C.
-0010-09-15T04:44:23 = set. -10 a.C.
GyMMMEd(E, d MMM y G)
2008-02-05T18:30:30 = mar, 5 feb. 2008 d.C.
1995-12-22T09:05:02 = vie, 22 dic. 1995 d.C.
-0010-09-15T04:44:23 = sΓ‘b, 15 set. -10 a.C.
GyMMMM(MMMM 'de' y G)
2008-02-05T18:30:30 = febrero de 2008 d.C.
1995-12-22T09:05:02 = diciembre de 1995 d.C.
-0010-09-15T04:44:23 = setiembre de -10 a.C.
GyMMMMEd(E, d 'de' MMMM 'de' y G)
2008-02-05T18:30:30 = mar, 5 de febrero de 2008 d.C.
1995-12-22T09:05:02 = vie, 22 de diciembre de 1995 d.C.
-0010-09-15T04:44:23 = sΓ‘b, 15 de setiembre de -10 a.C.
GyMMMMd(d 'de' MMMM 'de' y G)
2008-02-05T18:30:30 = 5 de febrero de 2008 d.C.
1995-12-22T09:05:02 = 22 de diciembre de 1995 d.C.
-0010-09-15T04:44:23 = 15 de setiembre de -10 a.C.
GyMMMd(d 'de' MMM 'de' y G)
2008-02-05T18:30:30 = 5 de feb. de 2008 d.C.
1995-12-22T09:05:02 = 22 de dic. de 1995 d.C.
-0010-09-15T04:44:23 = 15 de set. de -10 a.C.
GyMd(d/M/y GGGGG)
2008-02-05T18:30:30 = 5/2/2008 d.C.
1995-12-22T09:05:02 = 22/12/1995 d.C.
-0010-09-15T04:44:23 = 15/9/-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
Hmsvvvv(HH:mm:ss vvvv)
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, d/M)
2008-02-05T18:30:30 = mar, 5/2
1995-12-22T09:05:02 = vie, 22/12
-0010-09-15T04:44:23 = sΓ‘b, 15/9
MMM(LLL)
2008-02-05T18:30:30 = Feb.
1995-12-22T09:05:02 = Dic.
-0010-09-15T04:44:23 = Set.
MMMEd(E, d MMM)
2008-02-05T18:30:30 = mar, 5 feb.
1995-12-22T09:05:02 = vie, 22 dic.
-0010-09-15T04:44:23 = sΓ‘b, 15 set.
MMMMEd(E, d 'de' MMMM)
2008-02-05T18:30:30 = mar, 5 de febrero
1995-12-22T09:05:02 = vie, 22 de diciembre
-0010-09-15T04:44:23 = sΓ‘b, 15 de setiembre
MMMMW-count-one('semana' W 'de' MMMM)
2008-02-05T18:30:30 = semana 1 de febrero
1995-12-22T09:05:02 = semana 3 de diciembre
-0010-09-15T04:44:23 = semana 2 de setiembre
MMMMW-count-other('semana' W 'de' MMMM)
2008-02-05T18:30:30 = semana 1 de febrero
1995-12-22T09:05:02 = semana 3 de diciembre
-0010-09-15T04:44:23 = semana 2 de setiembre
yeah the-count-oneand-count-otherversions give the exact same output here β that's literally what the data says, don't @ me π
MMMMd(d 'de' MMMM)
2008-02-05T18:30:30 = 5 de febrero
1995-12-22T09:05:02 = 22 de diciembre
-0010-09-15T04:44:23 = 15 de setiembre
MMMd(d MMM)
2008-02-05T18:30:30 = 5 feb.
1995-12-22T09:05:02 = 22 dic.
-0010-09-15T04:44:23 = 15 set.
MMMdd(dd-MMM)
2008-02-05T18:30:30 = 05-feb.
1995-12-22T09:05:02 = 22-dic.
-0010-09-15T04:44:23 = 15-set.
MMd(d/M)
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
MMdd(d/M)
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
Md(d/M)
2008-02-05T18:30:30 = 5/2
1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/9
three formats, one identical pattern (d/M) β they're sisters, not clones, allegedly π
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)
β¦and that's exactly where this part of the page cuts off, bestie β right mid-list on hms π part 2 picks it up from here, don't go anywhere π«Ά
β¦and the hms one (h:mm:ss a) wraps up like this, bestie:
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) β clock time, but make it timezone-aware π
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
hmsvvvv(h:mm:ss a (vvvv)) β same energy, just with the zone in parentheses π
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) β short lil hour+minute, zone included β¨
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) β literally just minutes and seconds, iconic minimalism π¦
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
y(y) β the year alone, main character energy π
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM(M/y) β month slash year, tiny and efficient πΈ
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
yMEd(E d/M/y) β weekday + day/month/year, all cozy together π«Ά
2008-02-05T18:30:30 = mar 5/2/2008
1995-12-22T09:05:02 = vie 22/12/1995
-0010-09-15T04:44:23 = sΓ‘b 15/9/-10
yMM(M/y) β yeah it's the same asyM, she's just wearing a different wig, don't come for her π
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
yMMM(MMM y) β abbreviated month then year, so cute β¨
2008-02-05T18:30:30 = feb. 2008
1995-12-22T09:05:02 = dic. 1995
-0010-09-15T04:44:23 = set. -10
yMMMEd(E, d MMM y) β weekday, day, short month, year, all in a row π
2008-02-05T18:30:30 = mar, 5 feb. 2008
1995-12-22T09:05:02 = vie, 22 dic. 1995
-0010-09-15T04:44:23 = sΓ‘b, 15 set. -10
yMMMM(MMMM 'de' y) β full month with the littledeglued in there, very Spanish, very slay π
2008-02-05T18:30:30 = febrero de 2008
1995-12-22T09:05:02 = diciembre de 1995
-0010-09-15T04:44:23 = setiembre de -10
yMMMMEd(EEE, d 'de' MMMM 'de' y) β the fullde-sandwich with a weekday on top, obsessed π
2008-02-05T18:30:30 = mar, 5 de febrero de 2008
1995-12-22T09:05:02 = vie, 22 de diciembre de 1995
-0010-09-15T04:44:23 = sΓ‘b, 15 de setiembre de -10
yMMMMd(d 'de' MMMM 'de' y) β samedesituation, no weekday invited π
2008-02-05T18:30:30 = 5 de febrero de 2008
1995-12-22T09:05:02 = 22 de diciembre de 1995
-0010-09-15T04:44:23 = 15 de setiembre de -10
yMMMd(d MMM y) β day, abbreviated month, year, no notes π
2008-02-05T18:30:30 = 5 feb. 2008
1995-12-22T09:05:02 = 22 dic. 1995
-0010-09-15T04:44:23 = 15 set. -10
yMd(d/M/y) β pure numbers, day first, periodt π₯
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(QQQ 'de' y) β short quarter era,T1throughT4vibes β
2008-02-05T18:30:30 = T1 de 2008
1995-12-22T09:05:02 = T4 de 1995
-0010-09-15T04:44:23 = T3 de -10
yQQQQ(QQQQ 'de' y) β full glam quarter spelling,trimestreand all π
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('semana' w 'de' Y) β week number, singular flavour, lowkey specific π§
2008-02-05T18:30:30 = semana 6 de 2008
1995-12-22T09:05:02 = semana 51 de 1995
-0010-09-15T04:44:23 = semana 37 de -10
yw-count-other('semana' w 'de' Y) β the "other" plural-count version, same outfit, different label π
2008-02-05T18:30:30 = semana 6 de 2008
1995-12-22T09:05:02 = semana 51 de 1995
-0010-09-15T04:44:23 = semana 37 de -10
π Miscellaneous π
Just a couple of quick vibe checks:
- Prefers 24 hour time? No, bestie. Hard no. We're on 12-hour hours here.
- Local first day of the week:
7(domingo) β Sunday is the opener, no cap ποΈ
β¨ Strftime Patterns β¨
Okay so these are the classic strftime-style patterns, and they're giving old-school cool:
%c(%a %d %b %Y %T) β date time format π°οΈ
2008-02-05T18:30:30 = mar 05 feb. 2008 18:30:30
1995-12-22T09:05:02 = vie 22 dic. 1995 09:05:02
-0010-09-15T04:44:23 = sΓ‘b 15 set. -10 04:44:23
%x(%d/%m/%y) β date format, short and sweet π
2008-02-05T18:30:30 = 05/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/10
%X(%T) β time format, and yes it really is just%Tin a trench coat π
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 π
Need backup? Go see DateTime::Locale. That's the whole mood. π«Ά
And that's the whole page, bestie β this lil gem comes from perl v5.42.0, dated 2024-12-12, and it's filed under DateTim...e::es_PE(3). Go forth and format your Peruvian Spanish dates immaculately. π
β¨π
π¦ 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