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 is X and not M 😭 the abbreviation for miércoles had to dodge the Tuesday M, 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 from perl v5.42.0, dated 2024-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