DateTim...ale::gl(3)

💖 DateTime::Locale::gl 💖

ok so bestie, welcome to the User Contributed Perl Documentation section 3 page for DateTime::Locale::gl — that's the Galician locale, gl, and it's genuinely so cute. This is the whole vibe of the locale data, wrapped in examples. Grab a strawberry 🍓 and let's go.


✨ NAME ✨

DateTime::Locale::gl — locale data examples, but make it Galician (gl). no cap, that's the whole name.


🌸 DESCRIPTION 🌸

This pod file is literally just examples — every little bit of locale data that's available for the Galician locale, shown off so you can see what it actually looks like. It's giving reference sheet, and we're obsessed.


🦋 Days

Wide (format)

luns
martes
mércores
xoves
venres
sábado
domingo

Abbreviated (format)

luns
mar.
mér.
xov.
ven.
sáb.
dom.

Narrow (format)

l.
m.
m.
x.
v.
s.
d.
okay yes, the narrow ones for Tuesday and Wednesday are both m. — that's not a typo on my part, that's just how narrow narrow is. trust. 💅

Wide (stand-alone)

luns
martes
mércores
xoves
venres
sábado
domingo

Abbreviated (stand-alone)

luns
mar.
mér.
xov.
ven.
sáb.
dom.

Narrow (stand-alone)

L
M
M
X
V
S
D
stand-alone narrow said "let's use capitals" and honestly? main character energy. 👑

🌈 Months

Wide (format)

xaneiro
febreiro
marzo
abril
maio
xuño
xullo
agosto
setembro
outubro
novembro
decembro

Abbreviated (format)

xan.
feb.
mar.
abr.
maio
xuño
xul.
ago.
set.
out.
nov.
dec.
not maio and xuño refusing to get abbreviated. icons only. 🎀

Narrow (format)

x.
f.
m.
a.
m.
x.
x.
a.
s.
o.
n.
d.

Wide (stand-alone)

xaneiro
febreiro
marzo
abril
maio
xuño
xullo
agosto
setembro
outubro
novembro
decembro

Abbreviated (stand-alone)

xan.
feb.
mar.
abr.
maio
xuño
xul.
ago.
set.
out.
nov.
dec.

Narrow (stand-alone)

X
F
M
A
M
X
X
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
despois de Cristo

Abbreviated (format)

a.C.
d.C.

Narrow (format)

a.C.
d.C.
heads up: eras only get format flavours here — no stand-alone versions listed. that's just the data, iykyk. 🫶

💜 Date Formats

Full

2008-02-05T18:30:30 = martes, 5 de febreiro de 2008
1995-12-22T09:05:02 = venres, 22 de decembro de 1995
-0010-09-15T04:44:23 = sábado, 15 de setembro de -10

Long

2008-02-05T18:30:30 = 5 de febreiro de 2008
1995-12-22T09:05:02 = 22 de decembro de 1995
-0010-09-15T04:44:23 = 15 de setembro de -10

Medium

2008-02-05T18:30:30 = 5 de feb. de 2008
1995-12-22T09:05:02 = 22 de dec. de 1995
-0010-09-15T04:44:23 = 15 de set. de -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

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

Full

2008-02-05T18:30:30 = martes, 5 de febreiro de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = venres, 22 de decembro 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 febreiro de 2008, 18:30:30 UTC
1995-12-22T09:05:02 = 22 de decembro 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 = 5 de feb. de 2008, 18:30:30
1995-12-22T09:05:02 = 22 de dec. de 1995, 09:05:02
-0010-09-15T04:44:23 = 15 de set. de -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

ok so this next chunk is the big one — every named format this locale ships, with the pattern it uses in parens and the three test timestamps. same three timestamps every single time:

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

let's go. 🔥

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 = ven.
-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 = ven., 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 = ven., 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 = ven., 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 = ven., 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 = ven. 22
-0010-09-15T04:44:23 = sáb. 15
no comma on this one. the comma is load-bearing elsewhere, but here it dipped. 🙈

Ehm (E, h:mm a)

2008-02-05T18:30:30 = mar., 6:30 p.m.
1995-12-22T09:05:02 = ven., 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 = ven., 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 'de' y G)

2008-02-05T18:30:30 = feb. de 2008 d.C.
1995-12-22T09:05:02 = dec. 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 = mar., 5 de feb. de 2008 d.C.
1995-12-22T09:05:02 = ven., 22 de dec. de 1995 d.C.
-0010-09-15T04:44:23 = sáb., 15 de set. 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 dec. 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

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 = ven., 22/12
-0010-09-15T04:44:23 = sáb., 15/9

MMM (LLL)

2008-02-05T18:30:30 = feb.
1995-12-22T09:05:02 = dec.
-0010-09-15T04:44:23 = set.

MMMEd (E, d 'de' MMM)

2008-02-05T18:30:30 = mar., 5 de feb.
1995-12-22T09:05:02 = ven., 22 de dec.
-0010-09-15T04:44:23 = sáb., 15 de set.

MMMMEd (E, d 'de' MMMM)

2008-02-05T18:30:30 = mar., 5 de febreiro
1995-12-22T09:05:02 = ven., 22 de decembro
-0010-09-15T04:44:23 = sáb., 15 de setembro

MMMMW-count-one (W.'ª' 'semana' 'de' MMMM)

2008-02-05T18:30:30 = 1.ª semana de febreiro
1995-12-22T09:05:02 = 3.ª semana de decembro
-0010-09-15T04:44:23 = 2.ª semana de setembro

MMMMW-count-other (W.'ª' 'semana' 'de' MMMM)

2008-02-05T18:30:30 = 1.ª semana de febreiro
1995-12-22T09:05:02 = 3.ª semana de decembro
-0010-09-15T04:44:23 = 2.ª semana de setembro
yup, count-one and count-other are identical down to the character here. that's the tea, not a copy-paste slip on my end. 🍵

MMMMd (d 'de' MMMM)

2008-02-05T18:30:30 = 5 de febreiro
1995-12-22T09:05:02 = 22 de decembro
-0010-09-15T04:44:23 = 15 de setembro

MMMd (d 'de' MMM)

2008-02-05T18:30:30 = 5 de feb.
1995-12-22T09:05:02 = 22 de dec.
-0010-09-15T04:44:23 = 15 de set.

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 (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

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 (M/y)

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)

2008-02-05T18:30:30 = mar., 5/2/2008
1995-12-22T09:05:02 = ven., 22/12/1995
-0010-09-15T04:44:23 = sáb., 15/9/-10

yMM (MM/y)

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

yMMM (MMM 'de' y)


ok we're literally mid-list bestie — yMMM just showed up and the page keeps going. part 2 has the rest and it does not disappoint. 💅✨

Okay so these next ones are the rest of the Galician date-format lineup, and they're honestly so cute 🌸 keep the patterns exactly as written, bestie — the quotes and dots are load-bearing, iykyk.

  • yMMMEd — pattern E, d 'de' MMM 'de' y
2008-02-05T18:30:30 = mar., 5 de feb. de 2008
1995-12-22T09:05:02 = ven., 22 de dec. de 1995
-0010-09-15T04:44:23 = sáb., 15 de set. de -10
  • yMMMM — pattern MMMM 'de' y
2008-02-05T18:30:30 = febreiro de 2008
1995-12-22T09:05:02 = decembro de 1995
-0010-09-15T04:44:23 = setembro de -10
  • yMMMd — pattern d 'de' MMM 'de' y
2008-02-05T18:30:30 = 5 de feb. de 2008
1995-12-22T09:05:02 = 22 de dec. de 1995
-0010-09-15T04:44:23 = 15 de set. de -10
  • yMd — pattern d/M/y
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 — pattern QQQ y
2008-02-05T18:30:30 = T1 2008
1995-12-22T09:05:02 = T4 1995
-0010-09-15T04:44:23 = T3 -10
  • yQQQQ — pattern QQQQ 'de' y
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 — pattern w.'ª' 'semana' 'de' Y
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 — pattern w.'ª' 'semana' 'de' Y
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 🎀

  • Prefers 24 hour time? Yes 🕕 (clock girlies stay winning)
  • Local first day of the week: 1 (luns) — that's Monday for the monolingual besties 💅

🌈 Strftime Patterns 🌈

These are the classic strftime vibes, with their format strings spelled out exactly:

  • %c — %a %b %e %H:%M:%S %Y; the date time format
2008-02-05T18:30:30 = mar. feb.  5 18:30:30 2008
1995-12-22T09:05:02 = ven. dec. 22 09:05:02 1995
-0010-09-15T04:44:23 = sáb. set. 15 04:44:23 -10
  • %x — %m/%d/%y; the date format
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; the time format
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 main character, this page is just the Galician fit check 💖


That's the whole page, bestie — no cap, you made it to the end 🎉 This one's from the Perl docs, version perl v5.42.0, dated 2024-12-12 — so go forth and format your dates in Galician, periodt ✨💅

📦 where this page comes from