DateTim...ale::es(3)
πΈ DateTim...ale::es(3) β the Spanish locale files, bestie edition π
okay so this is DateTime::Locale::es(3), a User Contributed Perl Documentation page, and it's genuinely just a big gorgeous show-and-tell of the locale data for the Spanish (es) locale. no cap. everything below is examples, and they ate. π«Ά
β¨ NAME β¨
DateTime::Locale::es β Locale data examples for the Spanish (es) locale
π¦ DESCRIPTION π¦
this pod file is literally a gallery of examples of the locale data you get for the Spanish locale. it's not deep lore, it's a vibe check on every string Spanish DateTime::Locale will hand you β days, months, quarters, eras, the whole aesthetic. π
π 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
X
J
V
S
D
not me clocking that Wednesday's narrow form isXand notMπ the abbreviation for miΓ©rcoles had to dodge the TuesdayM, iconic problem-solving honestly.
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
X
J
V
S
D
π Months π
Wide (format)
enero
febrero
marzo
abril
mayo
junio
julio
agosto
septiembre
octubre
noviembre
diciembre
Abbreviated (format)
ene
feb
mar
abr
may
jun
jul
ago
sept
oct
nov
dic
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
septiembre
octubre
noviembre
diciembre
Abbreviated (stand-alone)
ene
feb
mar
abr
may
jun
jul
ago
sept
oct
nov
dic
Narrow (stand-alone)
E
F
M
A
M
J
J
A
S
O
N
D
π Quarters π
Wide (format)
1.er trimestre
2.ΒΊ trimestre
3.er trimestre
4.ΒΊ trimestre
Abbreviated (format)
T1
T2
T3
T4
Narrow (format)
1
2
3
4
Wide (stand-alone)
1.er trimestre
2.ΒΊ trimestre
3.er 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.
π Date Formats π
each line is a full timestamp on the left, and how Spanish renders it on the right. the -0010 one is a real year, negative and everything, and yes it says -10. π
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 septiembre 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 septiembre 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 sept -10
Short
2008-02-05T18:30:30 = 5/2/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/9/-10
β Time Formats β
Full
2008-02-05T18:30:30 = 18:30:30 (UTC)
1995-12-22T09:05:02 = 9:05:02 (UTC)
-0010-09-15T04:44:23 = 4:44:23 (UTC)
Long
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 9:05:02 UTC
-0010-09-15T04:44:23 = 4:44:23 UTC
Medium
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 9:05:02
-0010-09-15T04:44:23 = 4:44:23
Short
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 9:05
-0010-09-15T04:44:23 = 4:44
π§ Datetime Formats π§
date plus time, glued together. same three timestamps every time, so you can compare across styles without losing your mind. π«Ά
Full
2008-02-05T18:30:30 = martes, 5 de febrero de 2008, 18:30:30 (UTC)
1995-12-22T09:05:02 = viernes, 22 de diciembre de 1995, 9:05:02 (UTC)
-0010-09-15T04:44:23 = sΓ‘bado, 15 de septiembre de -10, 4:44:23 (UTC)
Long
2008-02-05T18:30:30 = 5 de febrero de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 de diciembre de 1995, 9:05:02 UTC
-0010-09-15T04:44:23 = 15 de septiembre de -10, 4:44:23 UTC
Medium
2008-02-05T18:30:30 = 5 feb 2008, 18:30:30
1995-12-22T09:05:02 = 22 dic 1995, 9:05:02
-0010-09-15T04:44:23 = 15 sept -10, 4:44:23
Short
2008-02-05T18:30:30 = 5/2/08, 18:30
1995-12-22T09:05:02 = 22/12/95, 9:05
-0010-09-15T04:44:23 = 15/9/-10, 4:44
π Available Formats π
this is the big one, bestie. every entry is a named format β the name in the heading, the pattern it maps to in the parentheses, then the same three sample timestamps rendered with it. lowkey obsessed with how many there are. do not skip any, i would never do that to you. π
π¦ 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, H:mm)
2008-02-05T18:30:30 = mar, 18:30
1995-12-22T09:05:02 = vie, 9:05
-0010-09-15T04:44:23 = sΓ‘b, 4:44
π¦ EHms (E, H:mm:ss)
2008-02-05T18:30:30 = mar, 18:30:30
1995-12-22T09:05:02 = vie, 9:05:02
-0010-09-15T04:44:23 = sΓ‘b, 4: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 = sept -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 sept -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 = septiembre 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 septiembre 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 septiembre de -10 a. C.
π¦ GyMMMd (d MMM y G)
2008-02-05T18:30:30 = 5 feb 2008 d. C.
1995-12-22T09:05:02 = 22 dic 1995 d. C.
-0010-09-15T04:44:23 = 15 sept -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 (H)
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 9
-0010-09-15T04:44:23 = 4
π¦ Hm (H:mm)
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 9:05
-0010-09-15T04:44:23 = 4:44
π¦ Hms (H:mm:ss)
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 9:05:02
-0010-09-15T04:44:23 = 4:44:23
π¦ Hmsv (H:mm:ss v)
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 9:05:02 UTC
-0010-09-15T04:44:23 = 4:44:23 UTC
π¦ Hmsvvvv (H:mm:ss (vvvv))
2008-02-05T18:30:30 = 18:30:30 (UTC)
1995-12-22T09:05:02 = 9:05:02 (UTC)
-0010-09-15T04:44:23 = 4:44:23 (UTC)
π¦ Hmv (H:mm v)
2008-02-05T18:30:30 = 18:30 UTC
1995-12-22T09:05:02 = 9:05 UTC
-0010-09-15T04:44:23 = 4: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 = sept
π¦ 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 sept
π¦ 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 septiembre
π¦ 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 septiembre
π¦ 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 septiembre
π¦ 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 septiembre
π¦ MMMd (d MMM)
2008-02-05T18:30:30 = 5 feb
1995-12-22T09:05:02 = 22 dic
-0010-09-15T04:44:23 = 15 sept
π¦ 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
π¦ 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
π¦ hmsvvvv (h:mm:ss a (vvvv))
(i'm gonna stop right here because this one's sample lines are literally the next bit of the file β we pick it up in part 2, bestie, don't go anywhere π)
and the block that's already in progress lands like this:
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)
hour and minute with the whole a.m./p.m. thing going on, and the zone name just vibing at the end π¦
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, no notes, no drama β¨
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 and nothing else β main character energy, refuses to elaborate π
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
π¦ yM (M/y)
month first, then year, slash between them, cute and simple π«Ά
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
π yMEd (EEE, d/M/y)
weekday abbreviation, then day/month/year. notice the weekday names are mar, vie, sΓ‘b β yes bestie, we're in Spanish territory here πͺπΈπ
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)
same shape as yM, same M/y pattern β yeah, it's giving twins π―ββοΈ
2008-02-05T18:30:30 = 2/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 9/-10
π yMMM (MMM y)
short month name then the year β feb, dic, sept, iconic abbreviations only πΈ
2008-02-05T18:30:30 = feb 2008
1995-12-22T09:05:02 = dic 1995
-0010-09-15T04:44:23 = sept -10
π yMMMEd (EEE, d MMM y)
weekday, day, short month, year β the whole little squad in one line π
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 sept -10
π§ yMMMM (MMMM 'de' y)
full month names now, and the literal 'de' glue word is doing its absolute thing π
2008-02-05T18:30:30 = febrero de 2008
1995-12-22T09:05:02 = diciembre de 1995
-0010-09-15T04:44:23 = septiembre de -10
π₯ yMMMMEd (EEE, d 'de' MMMM 'de' y)
weekday + day + full month + year, with 'de' showing up twice like it owns the place π
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 septiembre de -10
π¦ yMMMMd (d 'de' MMMM 'de' y)
same as above but we dropped the weekday β no cap, still a full sentence lowkey π
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 septiembre de -10
πΈ yMMMd (d MMM y)
day, short month, year β the compact version, she's efficient π
2008-02-05T18:30:30 = 5 feb 2008
1995-12-22T09:05:02 = 22 dic 1995
-0010-09-15T04:44:23 = 15 sept -10
π yMd (d/M/y)
day/month/year with slashes, the classic, the blueprint π
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 y)
quarter vibes only β T1, T4, T3 short form, then the year ποΈ
2008-02-05T18:30:30 = T1 2008
1995-12-22T09:05:02 = T4 1995
-0010-09-15T04:44:23 = T3 -10
π yQQQQ (QQQQ 'de' y)
the spelled out quarter: 1.er trimestre de 2008, 4.ΒΊ trimestre de 1995. absolutely ate π½οΈβ¨
2008-02-05T18:30:30 = 1.er trimestre de 2008
1995-12-22T09:05:02 = 4.ΒΊ trimestre de 1995
-0010-09-15T04:44:23 = 3.er trimestre de -10
π§ yw-count-one ('semana' w 'de' Y)
week number of the year, semana style β and heads up bestie, this one and its -other sibling below have identical example output, even though the entry names differ π€‘
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)
yep, exactly the same examples as yw-count-one β not a typo on my end, it's right there in the source π«Ά
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 π¦
little odds and ends, super quick:
- Prefers 24 hour time? β
Yes - Local first day of the week β
1(lunes) β that's Monday for the non-Spanish speakers in the chat π
β¨ Strftime Patterns β¨
these are the classic strftime-shaped ones, all lowercase-letter-coded, let's go π
π %c (%a %b %e %H:%M:%S %Y) - date time format
the full date and time combo. peep the double space after feb, that's not me being sloppy, that's verbatim π
2008-02-05T18:30:30 = mar feb 5 18:30:30 2008
1995-12-22T09:05:02 = vie dic 22 09:05:02 1995
-0010-09-15T04:44:23 = sΓ‘b sept 15 04:44:23 -10
πΈ %x (%m/%d/%y) - date format
just the date, month/day/year, two-digit year, done π
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
β %X (%H:%M:%S) - time format
time only, 24-hour, no a.m./p.m. nonsense, she's very serious π°οΈ
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 support section, she's brief and to the point π«Ά
okay that's genuinely the whole page bestie, we made it π this version came fromperl v5.42.0, dated2024-12-12, and yes I'm putting that in the sign-off because every detail matters even the footer. mwah πβ¨
π¦ 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