npm / chrono-node
chrono-node
What changed in chrono-node 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
1 breaking3 new APIs and options1 behavior and defaults10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initchrono-node 215 changes
Breaking changes 1
Partial month/year matches in invalid dates are rejected.
New APIs and options 3
Adds Arabic language support.
Adds Indonesian language support.
Adds Italian support for relative times and timezone offsets, and improves Italian language parsing.
Behavior and default changes 1
Spanish parsing supports standalone months and ordinal dates.
Fixes and other changes 10
Improves parsing of a common future date in Spanish.
Fixes rollover of night time ranges at the end of a month.
A bare colon no longer merges a time result backwards over a date.
End-of-month and relative end-of-period expressions are parsed.
English for-the-unit phrases are ignored regardless of case.
Fractional quarters are no longer silently discarded.
A leading Chinese numeral is no longer consumed as a word boundary.
A weekday that contradicts the computed relative date is no longer assigned.
Supports standard French month name abbreviations and accented variants.
Supports all 2-digit years in the English month name little endian parser.