Date with a Portuguese month name
ID date_portuguese
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 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
date - Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Portuguese
- qddate pattern
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- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- qddate
Regular expression
^(?:(?:(?:[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})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 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 | |
| 25 de diciembre de 2024 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Дата с португальским названием месяца | Календарная дата на португальском языке с названием месяца, например 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
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/date_portuguese - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/date_portuguese.yamlon GitHub