Long Date with Full Month Name
datetime.date.long_full_monthDate with full month name. Locale-specific because month names vary by language (January vs janvier vs Januar).
Operations on this type: Parse a date or time
Try a value
Long Date with Full Month Name's rule accepts it.
Reads it as 2024-03-04
Use it
finetype infer -i 'January 15, 2024' --mode column
# → datetime.date.long_full_monthSELECT ft_infer('January 15, 2024');
-- → 'datetime.date.long_full_month'strptime({col}, '%B %d, %Y')::DATE
-- Format: %B %d, %YHow finetype reads the samples
DuckDB 1.5.5 · finetype 0.6.66
| Value | As DATE |
|---|---|
| January 15, 2024 | 2024-01-15 |
| June 1, 2000 | 2000-06-01 |
| December 31, 2019 | 2019-12-31 |
- %B
- full month name
- %d
- day of month, two digits
- %Y
- four-digit year
Written by
CLDR 46 via finetype 0.6.66
Each locale below writes this format with its CLDR date pattern at the styles named beside it.
en long · en (AS, BI, CA, GU, MH, MP, PH, PR, UM, VI) long
Pattern
^(?:[A-Za-z]+ \d{1,2},? \d{4}|\d{1,2}\.? [A-Za-z]+ \d{4})$| Value | Length | Shape |
|---|---|---|
| January 15, 2024 | 16 | matches |
| June 1, 2000 | 12 | matches |
| December 31, 2019 | 17 | matches |
| January 15, 202 | 15 | rejected: one character short |
Background
Origin
In traditional American usage, dates are written in the month–day–year order, as in October 18, 2026.[1] American styles of date notation have also influenced customs of date notation in Canada.[1]
Unicode Technical Standard #35 says standard date patterns normally come in four types, and that the long type is the one with the wide month name.[2] The Unicode CLDR data gives English (en) the long date pattern MMMM d, y.[3] The CLDR full date pattern for English puts the weekday in front, as EEEE, MMMM d, y.[3]
Use
Wikipedia's table of date formats gives the long format in the Philippines as mmmm d, yyyy.[4] Wikipedia's table of date formats says many English-language publications in Canada use the month-day-year order, giving April 9, 2019 as an example.[4] The CLDR data for British English (en-GB) gives the long date pattern d MMMM y, with the day first.[5]
Sources
- [1]Date and time notation in the United Statessecondary source
- [2]Unicode Locale Data Markup Language (LDML) Part 4: Datesstandard
- [3]cldr-json/cldr-dates-full/main/en/ca-gregorian.jsonstandard
- [4]Date format by countrysecondary source
- [5]cldr-json/cldr-dates-full/main/en-GB/ca-gregorian.jsonstandard
Schema
https://meridian.online/schemas/datetime.date.long_full_month · Frictionless type date · %B %d, %Y
finetype taxonomy datetime.date.long_full_month -o json-schema