Skip to content

Update chrono-node from 2.9.1 to 2.10.1 - #55

Merged
Amato21 merged 1 commit into
masterfrom
bump-chrono-node
Aug 5, 2026
Merged

Update chrono-node from 2.9.1 to 2.10.1#55
Amato21 merged 1 commit into
masterfrom
bump-chrono-node

Conversation

@Amato21

@Amato21 Amato21 commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

Dependency update. Our own parser (parser.ts) only falls back to chrono-node for expressions it doesn't have dedicated regex handling for, so upstream locale fixes land automatically for anything routed through that fallback.

Relevant upstream changes for languages we support (verified against the actual chrono-node release notes for 2.9.2/2.10.0/2.10.1, not just the changelog summary):

  • fr: standard month name abbreviations + accented variants (e.g. "15 déc. 2026")
  • it: new relative-time and timezone-offset support
  • de/fr/it: casual-time meridiem preserved when merged with an explicit time
  • uk: fixed a forwardDate regex missing the unicode flag
  • zh: past-tense relative expressions (e.g. "1小时前")
  • DST resolution now based on UTC instead of system time (all languages)

No breaking changes upstream.

Verification

  • Smoke-tested the French/Italian fixes directly against chrono-node to confirm they're reachable through our fallback path.
  • 723/723 tests passing (unchanged — this is a dependency bump, not a behavior change on our side), tsc, eslint, and npm run build all clean.
  • Bonus: the pre-existing "circular dependency" build warning for the Italian locale is gone, likely a side effect of chrono-node 2.10.0's package restructuring.

Generated by Claude Code

Our own parser only falls back to chrono-node for expressions it
doesn't have dedicated regex handling for, so upstream locale fixes
land automatically for anything routed through that fallback. Relevant
upstream changes for our supported languages:

- fr: standard month name abbreviations + accented variants (e.g.
  "15 déc. 2026")
- it: new relative-time and timezone-offset support
- de/fr/it: casual-time meridiem preserved when merged with an
  explicit time
- uk: fixed a forwardDate regex missing the unicode flag
- zh: past-tense relative expressions (e.g. "1小时前")
- DST resolution now based on UTC instead of system time (all
  languages)

Verified the French/Italian fixes are reachable through our fallback
path with a direct chrono-node smoke test. No breaking changes
upstream; full suite (723 tests), tsc, eslint, and build all clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011AnUmNKkH1y4ZAEPKF1WwQ
@Amato21
Amato21 merged commit da0e86b into master Aug 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants