---
id: "date_latvian"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["datetime"]
langs: ["lv"]
quality: 68
url: "https://registry.apicrafter.io/datatype/date_latvian"
---

# Date with a Latvian month name (`date_latvian`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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`
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Latvian (lv)

## Detection

Regular expression (Python `re`):

```
^(?:\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\.))$
```

## Examples

- `2024. gada 3. oktobris` — 3 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 example)

## Sources

- other: <https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-dates-full/main/lv/ca-gregorian.json>

## Quality

Score 68/100. Missing: authoritative source link, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/date_latvian.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/date_latvian.yaml>
