Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: wanasit/chrono

v2.9.1

06 May 02:25
@wanasit wanasit

Choose a tag to compare

  • New: Vietnamese (vi) support (by @nhannht)
  • New: Finnish (fi) support (by @kallepahajoki)
  • Fix: Meridiem assignment for casual time parsing (by @VergilYotov)
  • Fix: (en) Recognize "of" between weekday and suffix (by @jbreissinger)
  • Fix (it): Improve Italian time parsing regex and add tests 0c71ed0
  • Fix (zh): Fix Chinese time parsing including CJK boundary and AM/PM implication 67f4c11
  • Fix historical timezone precision loss (LMT support) 5062a94
  • Fix year parsing for 3000+ (Issue #636) c830360
  • Fix meridiem merge for casual times and add -5d midnight regression 1cbfd1b

v2.9.0...v2.9.1

Contributors

VergilYotov, kallepahajoki, and 2 other contributors
Assets 2
Loading

v2.9.0

23 Sep 02:55
@wanasit wanasit

Choose a tag to compare

New/Fix: Remove dayjs dependency

We have been working toward making Chrono relying only on native Javascript date/time library; and now we are ready to drop dayjs dependency.

This change removes ParsingComponent.dayjs() and dayjs from package.json (50585af). Thus, it is published in a minor version.


v2.8.5...v2.9.0

Loading
leoherzog reacted with hooray emoji Rankarusu, koji520, and gemueselasagne reacted with rocket emoji
4 people reacted

v2.8.5

23 Sep 02:46
@wanasit wanasit

Choose a tag to compare

  • New: export it and sv locales f13e64e
  • Fix: Do not parse year-like numbers as times deb72c5
  • Fix: JP time parsing improvement b1bde28

v2.8.4...v2.8.5

Loading

v2.8.4

04 Aug 14:56
@wanasit wanasit

Choose a tag to compare

  • Fix: Timezone override in the options is not correctly applied in reference #608, 958eb3d
  • New: Swedish (SW) initial support (by @Nicklasfox) a5c52cf.

v2.8.3...v2.8.4

Contributors

Nicklasfox
Loading

v2.8.3

14 Jun 12:30
@wanasit wanasit

Choose a tag to compare

  • Rewrite duration calculations (without DayJs) abba434
  • Fix: (en) "noon" time assignment confidence (by @crazyjncsu)
  • Fix: export type ParsingContext (by @wickedest)

v2.8.2...v2.8.3

Contributors

wickedest and crazyjncsu
Loading

v2.8.2

01 Jun 00:08
@wanasit wanasit

Choose a tag to compare

  • Fix: Correct import error in 2.8.1

v2.8.1...v2.8.2

Loading

v2.8.1

25 May 00:52
@wanasit wanasit

Choose a tag to compare

  • Fix: ignore short digits following date (#595 ) 971b833
  • Refactor: Update the devDependencies 174b35e
  • [JP] Various NL improvement by @koji520 (#594 )

v2.8.0...v2.8.1

Contributors

koji520
Loading
koji520 and outaTiME reacted with rocket emoji
2 people reacted

v2.8.0

06 Apr 01:24
@wanasit wanasit

Choose a tag to compare

New/Fix: Reference date calculation on the assigned timezone 4033a27

Previously, the reference date calculation (e.g., "1 day ago", "tomorrow at 9am") was based on the interpretation of the reference instant/timestamp using the system timezone rather than the assigned timezone (e.g., "April 5" in the system timezone may already "April 6" in the assigned timezone).

const refInstant = new Date("2025-02-27T22:00:00.000Z");
// This instant/timestamp
// = Thu Feb 27 2025 15:00:00 GMT-0800 (PST)
// = Fri Feb 28 2025 08:00:00 GMT+0900 (JST)
chrono.parseDate("Tomorrow at 9am", { instant: refInstant, timezone: "PST" })
// In PST, "Tomorrow at 9am" => Fri Feb 28 2025 09:00:00 GMT-0800 (PST)
chrono.parseDate("Tomorrow at 9am", { instant: refInstant, timezone: "JST" })
// In JST, "Tomorrow at 9am" => Sat Mar 1 2025 09:00:00 GMT+0900 (JST)

This changed some current relative date/time output. So, it is published in a minor version, instead of a patch.


v2.7.9...v2.8.0

Loading
outaTiME reacted with rocket emoji
1 person reacted

v2.7.9

30 Mar 13:49
@wanasit wanasit

Choose a tag to compare

  • New: Italian (IT) support (beta/untested).
  • New: (en) add "Overmorrow" support in casual date e1acb29
  • Fix: (jp) rewrite 当ζ—₯ to 本ζ—₯
  • Fix: timezone option for relative dates should affect time 8c415a8

v2.7.8...v2.7.9

Loading
outaTiME and koji520 reacted with rocket emoji
2 people reacted

v2.7.8

25 Jan 02:44
@wanasit wanasit

Choose a tag to compare

  • Fix: (en) The second could be an ordinal number or time-unit 6d8d672
  • Fix: (en) Recognize "of" between month name and year 257722f
  • Fix: (en) The "may" could be verb or month name a857d3f
  • New: add debug tags for result/relativeDate 80c126b
  • New: add debug tags for parser/SlashDateFormatParser and parser/ENTimeExpressionParser 6646c75
  • New: (en) Add support for weekend/weekday mentioning 3a15d3d

v2.7.7...v2.7.8

Loading
shiroyasha9 reacted with hooray emoji AKayy2020 reacted with eyes emoji
2 people reacted
Previous 1 3 4 5 6 7
Previous

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /