Releases: wanasit/chrono
Releases · wanasit/chrono
v2.1.8
- [New] Added FR timeunit date/time parsing
- [New] Add Portuguese (PT) language support
v2.1.7
v2.1.6
- [New] Add German support (
chrono.de
) - [New] Improve vague timeunit expressions parsing (e.g. in around 2 hours)
- [New] Better casual unit parsing support (e.g. -4hr3min, or next 3weeek 4days)
- [Fix] Use null instead of undefined in timezone (see #340)
v2.1.5
v2.1.4
v1.4.8
v2.1.3
v2.1.2
2.1.0
Package loading
- The main module is now
dist/index.js
- Typescript's TypeInfo information is now available
dist/index.d.ts
- Change the module type to
commonjs
Use(only Node.js)import chrono from 'chrono-node'
instead ofimport * as chrono from 'Chrono-node'
Fixes
- Stop using lookbehind
- Minor interface changes
v2.0.2
- Fix the webpack building script
What's changed in v2
For Users
- Chrono’s default now handles only international English. While in the previous version, it tried to parse with all known languages.
- Minor interface redesign
For contributors and advanced users
- The project is rewritten in TypeScript
- New Parser and Refiner interface (see chrono.ts)