Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2025

Bumps chrono-node from 2.7.7 to 2.8.4.

Release notes

Sourced from chrono-node's releases.

v2.8.4

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

wanasit/chrono@v2.8.3...v2.8.4

v2.8.3

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

wanasit/chrono@v2.8.2...v2.8.3

v2.8.2

  • Fix: Correct import error in 2.8.1

wanasit/chrono@v2.8.1...v2.8.2

v2.8.1

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

wanasit/chrono@v2.8.0...v2.8.1

v2.8.0

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)

... (truncated)

Commits
  • 179445e 2.8.4
  • 958eb3d Fix: Reference with timezone does not apply timezone override in the options
  • ce58eda Merge pull request #607 from Nicklasfox/feature/swedish-localization
  • a5c52cf Add Swedish localization for Chrono
  • f4693f8 2.8.3
  • 8fa3f11 Refactor: Increase test coverage
  • 210b981 Doc: Add Spanish to the list of supported languages
  • baf01bf Refactor: Move common/calculation to just calculation package
  • f85db09 Merge branch 'dev_no_dayjs'
  • 5acc1ce Refactor: Rename fragments and TimeUnits to Duration
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [chrono-node](https://github.com/wanasit/chrono) from 2.7.7 to 2.8.4.
- [Release notes](https://github.com/wanasit/chrono/releases)
- [Commits](wanasit/chrono@v2.7.7...v2.8.4)

---
updated-dependencies:
- dependency-name: chrono-node
  dependency-version: 2.8.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants