Supported Dialects & Libraries
Dialects
Imported from rosetta-date/dialects.
| Dialect | Grammar | Example | Literals |
|---|---|---|---|
moment | Moment.js token grammar | DD/MM/YYYY | [...] |
ldml | Unicode UTS #35 / LDML date field symbols | dd/MM/yyyy | '...' |
Libraries
Imported from rosetta-date/libraries.
| Library | Tool | Speaks | Coverage |
|---|---|---|---|
momentjs | Moment.js | moment | the full grammar |
dayjs | Day.js | moment | a core subset + the common plugins (AdvancedFormat, LocalizedFormat) |
dateFns | date-fns | ldml | the full grammar + its own extensions (P…, t/T, R/I/i); some tokens gated behind date-fns options |
For the per-token grammar tables, see Token Mapping. For tool-specific behaviour, see Library Notes.
Last updated on