DateTim...e::en_LV(3)

πŸ“¦
version 1.46 Β· 3 versions
, in alpine 3.23, alpine 3.24

πŸ¦‹ DateTime::Locale::en_LV ✨

okay so this whole page is the manual for DateTime::Locale::en_LV(3) β€” part of the User Contributed Perl Documentation β€” and it's literally just a big glossy lookbook of every single locale data value the English Latvia (en-LV) locale ships with πŸ’… no cap, it's reference material, but it's our reference material now.


🌸 NAME 🌸

DateTime::Locale::en_LV β€” Locale data examples for the English Latvia (en-LV) locale πŸŽ€


✨ DESCRIPTION ✨

This pod file is packed with examples of the locale data that's available for the English Latvia locale. That's it, that's the whole vibe β€” every day name, month name, quarter, era, date format, time format, datetime format, and every named available format, all laid out with sample output so you can see exactly what the formatting does 🫢


πŸ—“οΈ Days

Wide (format)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format)

yes the narrow ones are giving single letter energy β€” and yes, T and S show up twice. That's intentional, not a typo, bestie 😭
M
T
W
T
F
S
S

Wide (stand-alone)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (stand-alone)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone)

M
T
W
T
F
S
S

🌷 Months

Wide (format)

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (format)

Sept is out here with four letters while everyone else kept it to three β€” main character energy, honestly πŸ‘‘
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec

Narrow (format)

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

Wide (stand-alone)

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (stand-alone)

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec

Narrow (stand-alone)

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

πŸ¦‹ Quarters

Wide (format)

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (format)

Q1
Q2
Q3
Q4

Narrow (format)

1
2
3
4

Wide (stand-alone)

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (stand-alone)

Q1
Q2
Q3
Q4

Narrow (stand-alone)

1
2
3
4

🌈 Eras

Wide (format)

Before Christ
Anno Domini

Abbreviated (format)

BC
AD

Narrow (format)

B
A

πŸŽ€ Date Formats

Full

  2008-02-05T18:30:30 = Tuesday, 5 February 2008
  1995-12-22T09:05:02 = Friday, 22 December 1995
 -0010-09-15T04:44:23 = Saturday, 15 September -10

Long

  2008-02-05T18:30:30 = 5 February 2008
  1995-12-22T09:05:02 = 22 December 1995
 -0010-09-15T04:44:23 = 15 September -10

Medium

  2008-02-05T18:30:30 = 5 Feb 2008
  1995-12-22T09:05:02 = 22 Dec 1995
 -0010-09-15T04:44:23 = 15 Sept -10

Short

day-first, slashes, zero-padded β€” and yeah, that negative year keeps its minus sign just hanging out there πŸ’€
  2008-02-05T18:30:30 = 05/02/2008
  1995-12-22T09:05:02 = 22/12/1995
 -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 = Tuesday, 5 February 2008, 18:30:30 UTC
  1995-12-22T09:05:02 = Friday, 22 December 1995, 09:05:02 UTC
 -0010-09-15T04:44:23 = Saturday, 15 September -10, 04:44:23 UTC

Long

  2008-02-05T18:30:30 = 5 February 2008, 18:30:30 UTC
  1995-12-22T09:05:02 = 22 December 1995, 09:05:02 UTC
 -0010-09-15T04:44:23 = 15 September -10, 04:44:23 UTC

Medium

  2008-02-05T18:30:30 = 5 Feb 2008, 18:30:30
  1995-12-22T09:05:02 = 22 Dec 1995, 09:05:02
 -0010-09-15T04:44:23 = 15 Sept -10, 04:44:23

Short

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

πŸ‘‘ Available Formats

this is the big one bestie β€” every named format identifier, the pattern sitting next to it in parentheses, and the three worked examples. buckle up 🎒

Bh β€” pattern h B

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

Bhm β€” pattern 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 β€” pattern 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 β€” pattern ccc

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

EBh β€” pattern E h B

  2008-02-05T18:30:30 = Tue 6 B
  1995-12-22T09:05:02 = Fri 9 B
 -0010-09-15T04:44:23 = Sat 4 B

EBhm β€” pattern E h:mm B

  2008-02-05T18:30:30 = Tue 6:30 B
  1995-12-22T09:05:02 = Fri 9:05 B
 -0010-09-15T04:44:23 = Sat 4:44 B

EBhms β€” pattern E h:mm:ss B

  2008-02-05T18:30:30 = Tue 6:30:30 B
  1995-12-22T09:05:02 = Fri 9:05:02 B
 -0010-09-15T04:44:23 = Sat 4:44:23 B

EHm β€” pattern E HH:mm

  2008-02-05T18:30:30 = Tue 18:30
  1995-12-22T09:05:02 = Fri 09:05
 -0010-09-15T04:44:23 = Sat 04:44

EHms β€” pattern E HH:mm:ss

  2008-02-05T18:30:30 = Tue 18:30:30
  1995-12-22T09:05:02 = Fri 09:05:02
 -0010-09-15T04:44:23 = Sat 04:44:23

Ed β€” pattern E d

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

Eh β€” pattern E h a

  2008-02-05T18:30:30 = Tue 6 pm
  1995-12-22T09:05:02 = Fri 9 am
 -0010-09-15T04:44:23 = Sat 4 am

Eh-alt-ascii β€” pattern E h a

  2008-02-05T18:30:30 = Tue 6 pm
  1995-12-22T09:05:02 = Fri 9 am
 -0010-09-15T04:44:23 = Sat 4 am

Ehm β€” pattern E h:mm a

  2008-02-05T18:30:30 = Tue 6:30 pm
  1995-12-22T09:05:02 = Fri 9:05 am
 -0010-09-15T04:44:23 = Sat 4:44 am

Ehm-alt-ascii β€” pattern E h:mm a

  2008-02-05T18:30:30 = Tue 6:30 pm
  1995-12-22T09:05:02 = Fri 9:05 am
 -0010-09-15T04:44:23 = Sat 4:44 am

Ehms β€” pattern E h:mm:ss a

  2008-02-05T18:30:30 = Tue 6:30:30 pm
  1995-12-22T09:05:02 = Fri 9:05:02 am
 -0010-09-15T04:44:23 = Sat 4:44:23 am

Ehms-alt-ascii β€” pattern E h:mm:ss a

  2008-02-05T18:30:30 = Tue 6:30:30 pm
  1995-12-22T09:05:02 = Fri 9:05:02 am
 -0010-09-15T04:44:23 = Sat 4:44:23 am

Gy β€” pattern y G

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

GyM β€” pattern M/y G

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

GyMEd β€” pattern E, dd/MM/y G

  2008-02-05T18:30:30 = Tue, 05/02/2008 AD
  1995-12-22T09:05:02 = Fri, 22/12/1995 AD
 -0010-09-15T04:44:23 = Sat, 15/09/-10 BC

GyMMM β€” pattern MMM y G

  2008-02-05T18:30:30 = Feb 2008 AD
  1995-12-22T09:05:02 = Dec 1995 AD
 -0010-09-15T04:44:23 = Sept -10 BC

GyMMMEd β€” pattern E, d MMM y G

  2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
  1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
 -0010-09-15T04:44:23 = Sat, 15 Sept -10 BC

GyMMMd β€” pattern d MMM y G

  2008-02-05T18:30:30 = 5 Feb 2008 AD
  1995-12-22T09:05:02 = 22 Dec 1995 AD
 -0010-09-15T04:44:23 = 15 Sept -10 BC

GyMd β€” pattern dd/MM/y G

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

H β€” pattern HH

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

Hm β€” pattern HH:mm

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

Hms β€” pattern 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 β€” pattern 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 β€” pattern 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

Hv β€” pattern HH v

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

M β€” pattern L

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

MEd β€” pattern E, dd/MM

  2008-02-05T18:30:30 = Tue, 05/02
  1995-12-22T09:05:02 = Fri, 22/12
 -0010-09-15T04:44:23 = Sat, 15/09

MMM β€” pattern LLL

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

MMMEd β€” pattern E, d MMM

  2008-02-05T18:30:30 = Tue, 5 Feb
  1995-12-22T09:05:02 = Fri, 22 Dec
 -0010-09-15T04:44:23 = Sat, 15 Sept

MMMMW-count-one β€” pattern 'week' W 'of' MMMM

  2008-02-05T18:30:30 = week 1 of February
  1995-12-22T09:05:02 = week 3 of December
 -0010-09-15T04:44:23 = week 2 of September

MMMMW-count-other β€” pattern 'week' W 'of' MMMM

  2008-02-05T18:30:30 = week 1 of February
  1995-12-22T09:05:02 = week 3 of December
 -0010-09-15T04:44:23 = week 2 of September

MMMMd β€” pattern d MMMM

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

MMMd β€” pattern d MMM

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

MMdd β€” pattern dd/MM

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

Md β€” pattern dd/MM

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

d β€” pattern d

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

h β€” pattern h a

  2008-02-05T18:30:30 = 6 pm
  1995-12-22T09:05:02 = 9 am
 -0010-09-15T04:44:23 = 4 am

h-alt-ascii β€” pattern h a

  2008-02-05T18:30:30 = 6 pm
  1995-12-22T09:05:02 = 9 am
 -0010-09-15T04:44:23 = 4 am

hm β€” pattern h:mm a

  2008-02-05T18:30:30 = 6:30 pm
  1995-12-22T09:05:02 = 9:05 am
 -0010-09-15T04:44:23 = 4:44 am

hm-alt-ascii β€” pattern h:mm a

  2008-02-05T18:30:30 = 6:30 pm
  1995-12-22T09:05:02 = 9:05 am
 -0010-09-15T04:44:23 = 4:44 am

hms β€” pattern h:mm:ss a

  2008-02-05T18:30:30 = 6:30:30 pm
  1995-12-22T09:05:02 = 9:05:02 am
 -0010-09-15T04:44:23 = 4:44:23 am

hms-alt-ascii β€” pattern h:mm:ss a

  2008-02-05T18:30:30 = 6:30:30 pm
  1995-12-22T09:05:02 = 9:05:02 am
 -0010-09-15T04:44:23 = 4:44:23 am

hmsv β€” pattern h:mm:ss a v

and that's exactly where part one of this page stops, mid-format-list, bestie β€” the examples for hmsv roll over into the next chunk 😌

  • hmsv-alt-ascii (h:mm:ss a v) β€” the plain-ASCII twin of the one above, no fancy spaces, just lowercase am/pm and a UTC doing its thing πŸ’…
2008-02-05T18:30:30 = 6:30:30 pm UTC
1995-12-22T09:05:02 = 9:05:02 am UTC
-0010-09-15T04:44:23 = 4:44:23 am UTC
  • hmv (h:mm a v) β€” hours + minutes + the am/pm moment + the zone, all cozy together ✨
2008-02-05T18:30:30 = 6:30 pm UTC
1995-12-22T09:05:02 = 9:05 am UTC
-0010-09-15T04:44:23 = 4:44 am UTC
  • hmv-alt-ascii (h:mm a v) β€” same as above but the ASCII-safe cutie, no weird whitespace energy πŸŽ€
2008-02-05T18:30:30 = 6:30 pm UTC
1995-12-22T09:05:02 = 9:05 am UTC
-0010-09-15T04:44:23 = 4:44 am UTC
  • hv (h a v) β€” literally just the hour, am/pm, and the zone. minimal. iconic. main character energy πŸ‘‘
2008-02-05T18:30:30 = 6 pm UTC
1995-12-22T09:05:02 = 9 am UTC
-0010-09-15T04:44:23 = 4 am UTC
  • hv-alt-ascii (h a v) β€” the ASCII version of the hour-only vibe check πŸ¦‹
2008-02-05T18:30:30 = 6 pm UTC
1995-12-22T09:05:02 = 9 am UTC
-0010-09-15T04:44:23 = 4 am UTC
  • ms (mm:ss) β€” minutes and seconds, that's the whole personality, no hours invited πŸ“
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23

πŸ—“οΈ Date Formats

  • y (y) β€” just the year, nothing else, she's focused πŸ’œ
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
  • yM (MM/y) β€” month first, then the year, because that's how Latvian rolls πŸ‡±πŸ‡»
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
  • yMEd (E, dd/MM/y) β€” weekday, then the day/month/year trio, comma-separated for the aesthetic ✨
2008-02-05T18:30:30 = Tue, 05/02/2008
1995-12-22T09:05:02 = Fri, 22/12/1995
-0010-09-15T04:44:23 = Sat, 15/09/-10
  • yMMM (MMM y) β€” abbreviated month + year, short and slay 🌸
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sept -10
  • yMMMEd (E, d MMM y) β€” weekday, day, abbreviated month, year. the full little bundle πŸŽ€
2008-02-05T18:30:30 = Tue, 5 Feb 2008
1995-12-22T09:05:02 = Fri, 22 Dec 1995
-0010-09-15T04:44:23 = Sat, 15 Sept -10
  • yMMMM (MMMM y) β€” the full month name + year, no abbreviations allowed bestie πŸ’…
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
  • yMMMd (d MMM y) β€” day, abbreviated month, year. lowkey the everyday format πŸ¦‹
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -10
  • yMd (dd/MM/y) β€” day slash month slash year, the classic numeric slay πŸ”₯
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
  • yQQQ (QQQ y) β€” quarter, abbreviated, plus year. quarterly queen behavior πŸ‘‘
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
  • yQQQQ (QQQQ y) β€” the spelled out quarter, like "1st quarter", because she's extra πŸ’–
2008-02-05T18:30:30 = 1st quarter 2008
1995-12-22T09:05:02 = 4th quarter 1995
-0010-09-15T04:44:23 = 3rd quarter -10
  • yw-count-one ('week' w 'of' Y) β€” week number + week-year, the count-one singular version, words and all πŸ—“οΈ
2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10
  • yw-count-other ('week' w 'of' Y) β€” the count-other version of the same thing. yes bestie, Latvian has plural categories and they both need their entry 😭
2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10

🎲 Miscellaneous

Some extra little facts about this locale, no big deal:

  • Prefers 24 hour time? Yes β€” clock it, she's on 24-hour time ⏰
  • Local first day of the week β€” 1 (Monday), Monday girlies rise up 🫢

🧡 Strftime Patterns

The strftime-flavored formats, for when you're going old school with % codes:

  • %c (%a %b %e %H:%M:%S %Y) β€” date time format πŸ’«
2008-02-05T18:30:30 = Tue Feb  5 18:30:30 2008
1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat Sept 15 04:44:23 -10
  • %x (%m/%d/%y) β€” date format, month/day/year with the two-digit year energy 🌈
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, 24-hour, no am/pm drama ⭐
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 where all the locale machinery lives, go say hi πŸ’–


okay that's the whole page bestie, you made it to the end, so proud of you 😭✨

And a tiny sign-off before you close the tab: this whole thing is perl v5.42.2, dated 2026-09-15 β€” shoutout to the version and the date, they're doing amazing sweetie πŸ’…πŸŽ€

πŸ“¦ where this page comes from