Datatypes › date

Date with a Latvian month name

ID date_latvian

Pattern of dateNot PIIDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Calendar date written in Latvian with the month name, day, month and year in the order of the CLDR long (y. 'gada' d. MMMM) and medium (y. 'gada' d. MMM) date formats of the lv locale. The month is the CLDR wide or abbreviated name in the format context, written exactly as CLDR gives it, including any dot or apostrophe; no extra capitalisation variants are accepted.

Pattern of
Date date
Categories
Date and time
Countries
Global (not tied to a country)
Languages
Latvian
Quality
68/100 · missing: authoritative source link, mapping (Wikidata, Schema.org, ...), translation, detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:\d{4}\. gada (?:0?[1-9]|[12]\d|3[01])\. (?:septembris|novembris|decembris|februāris|oktobris|janvāris|augusts|aprīlis|jūlijs|jūnijs|maijs|marts)|\d{4}\. gada (?:0?[1-9]|[12]\d|3[01])\. (?:febr\.|maijs|marts|janv\.|sept\.|jūl\.|apr\.|jūn\.|dec\.|nov\.|okt\.|aug\.))$

Python re syntax.

Examples

ValueDescription
2024. gada 3. oktobris3 October 2024, CLDR long format y. 'gada' d. MMMM
2024. gada 25. dec.25 December 2024, CLDR medium format y. 'gada' d. MMM
oktobris 2024 invalid

Sources

Use this record