DateTim...ale::lv(3)

💅 NAME

DateTime::Locale::lv — locale data examples for the Latvian (lv) locale 🦋

(ok so real talk, this is the <kbd>3</kbd> manpage for DateTime::Locale::lv, filed under User Contributed Perl Documentation, and it's literally just a showcase of every scrap of Latvian locale data this module ships with. bestie, it's a whole mood 💖)


✨ DESCRIPTION ✨

This pod file contains examples of the locale data available for the Latvian locale. That's it, that's the vibe — a full show-and-tell of everything lv brings to the table 🌸


🎀 Days

Wide (format)

pirmdiena
otrdiena
trešdiena
ceturtdiena
piektdiena
sestdiena
svētdiena

Abbreviated (format)

pirmd.
otrd.
trešd.
ceturtd.
piektd.
sestd.
svētd.

Narrow (format)

P
O
T
C
P
S
S
👀 yes the narrow ones repeat (P shows up for both pirmdiena and piektdiena, S for both sestdiena and svētdiena). That's not a typo, that's just how narrow do be. 💀

Wide (stand-alone)

Pirmdiena
Otrdiena
Trešdiena
Ceturtdiena
Piektdiena
Sestdiena
Svētdiena

Abbreviated (stand-alone)

Pirmd.
Otrd.
Trešd.
Ceturtd.
Piektd.
Sestd.
Svētd.

Narrow (stand-alone)

P
O
T
C
P
S
S

🌸 Months

Wide (format)

janvāris
februāris
marts
aprīlis
maijs
jūnijs
jūlijs
augusts
septembris
oktobris
novembris
decembris

Abbreviated (format)

janv.
febr.
marts
apr.
maijs
jūn.
jūl.
aug.
sept.
okt.
nov.
dec.
✨ cute detail: marts and maijs don't get abbreviated at all, they just show up full-length like main characters. periodt.

Narrow (format)

J
F
M
A
M
J
J
A
S
O
N
D

Wide (stand-alone)

janvāris
februāris
marts
aprīlis
maijs
jūnijs
jūlijs
augusts
septembris
oktobris
novembris
decembris

Abbreviated (stand-alone)

janv.
febr.
marts
apr.
maijs
jūn.
jūl.
aug.
sept.
okt.
nov.
dec.

Narrow (stand-alone)

J
F
M
A
M
J
J
A
S
O
N
D

🧚 Quarters

Wide (format)

1. ceturksnis
2. ceturksnis
3. ceturksnis
4. ceturksnis

Abbreviated (format)

1. cet.
2. cet.
3. cet.
4. cet.

Narrow (format)

1.
2.
3.
4.

Wide (stand-alone)

1. ceturksnis
2. ceturksnis
3. ceturksnis
4. ceturksnis

Abbreviated (stand-alone)

1. cet.
2. cet.
3. cet.
4. cet.

Narrow (stand-alone)

1.
2.
3.
4.

👑 Eras

Wide (format)

pirms mūsu ēras
mūsu ērā

Abbreviated (format)

p.m.ē.
m.ē.

Narrow (format)

p.m.ē.
m.ē.
🙈 ngl the eras section is short and sweet — just two eras, no stand-alone variants listed at all. lowkey iconic for keeping it minimal.

⭐ Date Formats

Full

2008-02-05T18:30:30 = otrdiena, 2008. gada 5. februāris
1995-12-22T09:05:02 = piektdiena, 1995. gada 22. decembris
-0010-09-15T04:44:23 = sestdiena, -10. gada 15. septembris

Long

2008-02-05T18:30:30 = 2008. gada 5. februāris
1995-12-22T09:05:02 = 1995. gada 22. decembris
-0010-09-15T04:44:23 = -10. gada 15. septembris

Medium

2008-02-05T18:30:30 = 2008. gada 5. febr.
1995-12-22T09:05:02 = 1995. gada 22. dec.
-0010-09-15T04:44:23 = -10. gada 15. sept.

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
💀 not the negative year formatting as 15.09.-10 — she said "I contain multitudes."

🕐 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
👀 and yeah, Full and Long are literally identical here. no cap. not me checking twice. 🫶

🌈 Datetime Formats

Full

2008-02-05T18:30:30 = otrdiena, 2008. gada 5. februāris 18:30:30 UTC
1995-12-22T09:05:02 = piektdiena, 1995. gada 22. decembris 09:05:02 UTC
-0010-09-15T04:44:23 = sestdiena, -10. gada 15. septembris 04:44:23 UTC

Long

2008-02-05T18:30:30 = 2008. gada 5. februāris 18:30:30 UTC
1995-12-22T09:05:02 = 1995. gada 22. decembris 09:05:02 UTC
-0010-09-15T04:44:23 = -10. gada 15. septembris 04:44:23 UTC

Medium

2008-02-05T18:30:30 = 2008. gada 5. febr. 18:30:30
1995-12-22T09:05:02 = 1995. gada 22. dec. 09:05:02
-0010-09-15T04:44:23 = -10. gada 15. sept. 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

buckle up bestie, this is the big one — every named format with its pattern and all three sample datetimes ✨

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 = Otrd.
1995-12-22T09:05:02 = Piektd.
-0010-09-15T04:44:23 = Sestd.
🌸 see how these start with a capital? that's the stand-alone energy, we love a glow-up.

EBhm (E, h:mm B)

2008-02-05T18:30:30 = otrd., 6:30 B
1995-12-22T09:05:02 = piektd., 9:05 B
-0010-09-15T04:44:23 = sestd., 4:44 B

EBhms (E, h:mm:ss B)

2008-02-05T18:30:30 = otrd., 6:30:30 B
1995-12-22T09:05:02 = piektd., 9:05:02 B
-0010-09-15T04:44:23 = sestd., 4:44:23 B

EHm (E, HH:mm)

2008-02-05T18:30:30 = otrd., 18:30
1995-12-22T09:05:02 = piektd., 09:05
-0010-09-15T04:44:23 = sestd., 04:44

EHms (E, HH:mm:ss)

2008-02-05T18:30:30 = otrd., 18:30:30
1995-12-22T09:05:02 = piektd., 09:05:02
-0010-09-15T04:44:23 = sestd., 04:44:23

Ed (E, d.)

2008-02-05T18:30:30 = otrd., 5.
1995-12-22T09:05:02 = piektd., 22.
-0010-09-15T04:44:23 = sestd., 15.

Ehm (E, h:mm a)

2008-02-05T18:30:30 = otrd., 6:30 pēcp.
1995-12-22T09:05:02 = piektd., 9:05 priekšp.
-0010-09-15T04:44:23 = sestd., 4:44 priekšp.

Ehms (E, h:mm:ss a)

2008-02-05T18:30:30 = otrd., 6:30:30 pēcp.
1995-12-22T09:05:02 = piektd., 9:05:02 priekšp.
-0010-09-15T04:44:23 = sestd., 4:44:23 priekšp.

Gy (G y. 'g'.)

2008-02-05T18:30:30 = m.ē. 2008. g.
1995-12-22T09:05:02 = m.ē. 1995. g.
-0010-09-15T04:44:23 = p.m.ē. -10. g.

GyMMM (G y. 'g'. MMM)

2008-02-05T18:30:30 = m.ē. 2008. g. febr.
1995-12-22T09:05:02 = m.ē. 1995. g. dec.
-0010-09-15T04:44:23 = p.m.ē. -10. g. sept.

GyMMMEd (E, G y. 'g'. d. MMM)

2008-02-05T18:30:30 = otrd., m.ē. 2008. g. 5. febr.
1995-12-22T09:05:02 = piektd., m.ē. 1995. g. 22. dec.
-0010-09-15T04:44:23 = sestd., p.m.ē. -10. g. 15. sept.

GyMMMd (G y. 'g'. d. MMM)

2008-02-05T18:30:30 = m.ē. 2008. g. 5. febr.
1995-12-22T09:05:02 = m.ē. 1995. g. 22. dec.
-0010-09-15T04:44:23 = p.m.ē. -10. g. 15. sept.

GyMd (GGGGG dd-MM-y)

2008-02-05T18:30:30 = m.ē. 05-02-2008
1995-12-22T09:05:02 = m.ē. 22-12-1995
-0010-09-15T04:44:23 = p.m.ē. 15-09--10
💀 15-09--10 — double dash, no thoughts, just vibes. that's the negative year living its truth.

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, dd.MM.)

2008-02-05T18:30:30 = otrd., 05.02.
1995-12-22T09:05:02 = piektd., 22.12.
-0010-09-15T04:44:23 = sestd., 15.09.

MMM (LLL)

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

MMMEd (E, d. MMM)

2008-02-05T18:30:30 = otrd., 5. febr.
1995-12-22T09:05:02 = piektd., 22. dec.
-0010-09-15T04:44:23 = sestd., 15. sept.

MMMMEd (E, d. MMMM)

2008-02-05T18:30:30 = otrd., 5. februāris
1995-12-22T09:05:02 = piektd., 22. decembris
-0010-09-15T04:44:23 = sestd., 15. septembris

MMMMW-count-one (MMMM, W. 'nedēļa')

2008-02-05T18:30:30 = februāris, 1. nedēļa
1995-12-22T09:05:02 = decembris, 3. nedēļa
-0010-09-15T04:44:23 = septembris, 2. nedēļa

MMMMW-count-other (MMMM, W. 'nedēļa')

2008-02-05T18:30:30 = februāris, 1. nedēļa
1995-12-22T09:05:02 = decembris, 3. nedēļa
-0010-09-15T04:44:23 = septembris, 2. nedēļa

MMMMW-count-zero (MMMM, W. 'nedēļa')

2008-02-05T18:30:30 = februāris, 1. nedēļa
1995-12-22T09:05:02 = decembris, 3. nedēļa
-0010-09-15T04:44:23 = septembris, 2. nedēļa
😭 the count-one, count-other and count-zero variants all output the exact same strings here. not me checking three times to make sure I didn't mess it up. they're literally identical. slay for consistency I guess? 🫶

MMMMd (d. MMMM)

2008-02-05T18:30:30 = 5. februāris
1995-12-22T09:05:02 = 22. decembris
-0010-09-15T04:44:23 = 15. septembris

MMMd (d. MMM)

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

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)

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ēcp.
1995-12-22T09:05:02 = 9 priekšp.
-0010-09-15T04:44:23 = 4 priekšp.

hm (h:mm a)

2008-02-05T18:30:30 = 6:30 pēcp.
1995-12-22T09:05:02 = 9:05 priekšp.
-0010-09-15T04:44:23 = 4:44 priekšp.

hms (h:mm:ss a)

2008-02-05T18:30:30 = 6:30:30 pēcp.
1995-12-22T09:05:02 = 9:05:02 priekšp.
-0010-09-15T04:44:23 = 4:44:23 priekšp.

hmsv (h:mm:ss a v)

2008-02-05T18:30:30 = 6:30:30 pēcp. UTC
1995-12-22T09:05:02 = 9:05:02 priekšp. UTC
-0010-09-15T04:44:23 = 4:44:23 priekšp. UTC

hmv (h:mm a v)

2008-02-05T18:30:30 = 6:30 pēcp. UTC
1995-12-22T09:05:02 = 9:05 priekšp. UTC
-0010-09-15T04:44:23 = 4:44 priekšp. UTC

mmss (mm:ss)

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

ms (mm:ss)

2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
⭐ lowkey obsessed that mmss and ms share the exact same pattern mm:ss and the exact same output. twins fr fr.

y (y. 'g'.)

…and we're back, bestie 💖 no skipping, no summarizing, we're going line by line to the very end. Here's the tail of the pattern we were already vibing with:

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

yM (MM.y.)

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

yMEd (E, d.MM.y.)

2008-02-05T18:30:30 = otrd., 5.02.2008.
1995-12-22T09:05:02 = piektd., 22.12.1995.
-0010-09-15T04:44:23 = sestd., 15.09.-10.

yMMM (y. 'g'. MMM)

2008-02-05T18:30:30 = 2008. g. febr.
1995-12-22T09:05:02 = 1995. g. dec.
-0010-09-15T04:44:23 = -10. g. sept.

yMMMEd (E, y. 'g'. d. MMM)

2008-02-05T18:30:30 = otrd., 2008. g. 5. febr.
1995-12-22T09:05:02 = piektd., 1995. g. 22. dec.
-0010-09-15T04:44:23 = sestd., -10. g. 15. sept.

yMMMM (y. 'g'. MMMM)

2008-02-05T18:30:30 = 2008. g. februāris
1995-12-22T09:05:02 = 1995. g. decembris
-0010-09-15T04:44:23 = -10. g. septembris

yMMMd (y. 'g'. d. MMM)

2008-02-05T18:30:30 = 2008. g. 5. febr.
1995-12-22T09:05:02 = 1995. g. 22. dec.
-0010-09-15T04:44:23 = -10. g. 15. sept.

yMd (d.MM.y.)

2008-02-05T18:30:30 = 5.02.2008.
1995-12-22T09:05:02 = 22.12.1995.
-0010-09-15T04:44:23 = 15.09.-10.

yQQQ (y. 'g'. QQQ)

2008-02-05T18:30:30 = 2008. g. 1. cet.
1995-12-22T09:05:02 = 1995. g. 4. cet.
-0010-09-15T04:44:23 = -10. g. 3. cet.

yQQQQ (y. 'g'. QQQQ)

2008-02-05T18:30:30 = 2008. g. 1. ceturksnis
1995-12-22T09:05:02 = 1995. g. 4. ceturksnis
-0010-09-15T04:44:23 = -10. g. 3. ceturksnis

yw-count-one (Y. 'g'. w. 'nedēļa')

2008-02-05T18:30:30 = 2008. g. 6. nedēļa
1995-12-22T09:05:02 = 1995. g. 51. nedēļa
-0010-09-15T04:44:23 = -10. g. 37. nedēļa

yw-count-other (Y. 'g'. w. 'nedēļa')

2008-02-05T18:30:30 = 2008. g. 6. nedēļa
1995-12-22T09:05:02 = 1995. g. 51. nedēļa
-0010-09-15T04:44:23 = -10. g. 37. nedēļa

yw-count-zero (Y. 'g'. w. 'nedēļa')

2008-02-05T18:30:30 = 2008. g. 6. nedēļa
1995-12-22T09:05:02 = 1995. g. 51. nedēļa
-0010-09-15T04:44:23 = -10. g. 37. nedēļa
nope, your eyes aren't broken 🫶 the count-one, count-other and count-zero variants genuinely output the exact same thing here. That's not me being lazy, that's just what the page says.

🌸 Miscellaneous 🌸

The little settings nobody thinks about but that run the whole vibe:

  • Prefers 24 hour time? Yes ✅
  • Local first day of the week: 1 (Pirmdiena)

⏰ Strftime Patterns ⏰

Now the classic strftime-flavored ones, each with its real pattern in parens. Behold ✨

%c (%a %b %e %H:%M:%S %Y) — date time format

2008-02-05T18:30:30 = otrd. febr.  5 18:30:30 2008
1995-12-22T09:05:02 = piektd. dec. 22 09:05:02 1995
-0010-09-15T04:44:23 = sestd. sept. 15 04:44:23 -10

%x (%m/%d/%y) — 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) — 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 🫶

Need more? See DateTime::Locale. That's literally it, that's the whole pointer. Go read it, it's iconic 👑


and that's a wrap on the Latvian locale, bestie 💅 every pattern, every example, every weird -10. g. negative-year moment — all accounted for.

this page ships with perl v5.42.0, dated 2024-12-12, and it lives at DateTim...ale::lv(3) — yes the name is truncated with dots, no we don't fix it, that's just how the manpage renders it. mwah 💋

📦 where this page comes from