Skip to content

Releases: wanasit/chrono

v2.1.8

24 Aug 05:57
Compare
Choose a tag to compare
  • [New] Added FR timeunit date/time parsing
  • [New] Add Portuguese (PT) language support

v2.1.7...v2.1.8

v2.1.7

08 Aug 07:05
Compare
Choose a tag to compare
  • [Fix] Avoid export * ... syntax usages #341

v2.1.6...v2.1.7

v2.1.6

02 Aug 11:37
Compare
Choose a tag to compare
  • [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.6

v2.1.5

23 Jul 12:48
Compare
Choose a tag to compare
  • [New] FR date with month name e.g. "10 Fevrier 2012"
  • [New] FR weekday parsing e.g. "la deadline était vendredi dernier"
  • [Fix] A problem related to space suffix in time parsing reported in #337

v2.1.4...v2.1.5

v2.1.4

18 Jul 09:30
Compare
Choose a tag to compare
  • [New] French date parser (prototype) 2e12e32
  • [New] Casual date parsing (e.g. today, tomorrow, etc) also implies the reference time 17bb16f
  • [Fix] ParsingComponent.get() suppose to return undefined instead of null e1a3c04

v2.1.3...v2.1.4

v1.4.8

12 Jul 08:50
Compare
Choose a tag to compare
  • Fix incorrect time pattern parsing reported in #304
  • Fix casual time timezone handling
  • Revert refactoring change that break the package in 1.4.7

v1.4.6...v1.4.8

v2.1.3

11 Jul 06:25
Compare
Choose a tag to compare
  • [New] support + timeunit pattern #294
  • [New] Imply ref time when parsing timeunit reference ce989eb
  • [Fix] check and improve year 90s extraction 31d2a61

v2.1.2...v2.1.3

v2.1.2

11 Jul 04:02
Compare
Choose a tag to compare

[Fix] Stop using remaining lookbehind reported in #332

2.1.0

10 Jul 15:13
Compare
Choose a tag to compare

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 import chrono from 'chrono-node' instead of import * as chrono from 'Chrono-node' (only Node.js)

Fixes

  • Stop using lookbehind
  • Minor interface changes

v2.0.3...v2.1.0

v2.0.2

07 Jul 10:54
Compare
Choose a tag to compare
  • 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)