---
id: "date_portuguese"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["datetime"]
langs: ["pt"]
quality: 100
url: "http://registry.apicrafter.io/datatype/date_portuguese"
---

# Date with a Portuguese month name (`date_portuguese`)

> **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 Portuguese with the month name, day first: 5 de maio de 2022, 5 maio 2022 or 5 mai 2022, optionally after the weekday (quinta-feira, 5 maio 2022). The month-first form maio 5, 2022 is accepted too.

- Pattern of: `date`
- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Portuguese (pt)

## Detection

Regular expression (Python `re`):

```
^(?:(?:(?:[Ss]egunda-feira|[Tt]erça-feira|[Qq]uarta-feira|[Qq]uinta-feira|[Ss]exta-feira|[Ss]ábado|[Dd]omingo|[Ss]eg|[Tt]er|[Qq]ua|[Qq]ui|[Ss]ex|[Ss]áb|[Dd]om),? )?(?:0?[1-9]|[12]\d|3[01]) (?:[Dd]e (?:[Jj]an(?:eiro)?|[Ff]ev(?:ereiro)?|[Mm]ar(?:ço)?|[Aa]br(?:il)?|[Mm]aio?|[Jj]un(?:ho)?|[Jj]ul(?:ho)?|[Aa]go(?:sto)?|[Ss]et(?:embro)?|[Oo]ut(?:ubro)?|[Nn]ov(?:embro)?|[Dd]ez(?:embro)?) [Dd]e|(?:[Jj]an(?:eiro)?|[Ff]ev(?:ereiro)?|[Mm]ar(?:ço)?|[Aa]br(?:il)?|[Mm]aio?|[Jj]un(?:ho)?|[Jj]ul(?:ho)?|[Aa]go(?:sto)?|[Ss]et(?:embro)?|[Oo]ut(?:ubro)?|[Nn]ov(?:embro)?|[Dd]ez(?:embro)?)) \d{4}|(?:[Jj]an(?:eiro)?|[Ff]ev(?:ereiro)?|[Mm]ar(?:ço)?|[Aa]br(?:il)?|[Mm]aio?|[Jj]un(?:ho)?|[Jj]ul(?:ho)?|[Aa]go(?:sto)?|[Ss]et(?:embro)?|[Oo]ut(?:ubro)?|[Nn]ov(?:embro)?|[Dd]ez(?:embro)?) (?:0?[1-9]|[12]\d|3[01]), \d{4})$
```

## Examples

- `25 de dezembro de 2024` — 25 December 2024
- `25 dezembro 2024` — Without the preposition
- `quarta-feira, 25 dezembro 2024` — With the weekday
- `dezembro de 2024` (invalid example)
- `25 de diciembre de 2024` (invalid example)

## Mappings

- qddate: `dt:date:pt_base`, `dt:date:pt_base_lc`, `dt:date:pt_base_article`, `dt:date:pt_base_lc_article`, `dt:date:pt_short`, `dt:date:pt_short_lc`, `dt:date:pt_short_monthfirst`, `dt:date:pt_short_lc_monthfirst`, `dt:date:pt_weekday`, `dt:date:pt_weekday_lc`, `dt:date:pt_weekday_short`, `dt:date:pt_weekday_short_lc`

## Supported by tools

- `qddate`

## Translations

- ru: Дата с португальским названием месяца: Календарная дата на португальском языке с названием месяца, например 5 de maio de 2022.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Date_and_time_notation_in_Brazil>
- other: <https://github.com/ivbeg/qddate/blob/v1.1.0/qddate/patterns/pt.py>

## Quality

Score 100/100.

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