Skip to content

build(deps): bump chrono-node from 2.7.7 to 2.8.0 #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 8, 2025

Bumps chrono-node from 2.7.7 to 2.8.0.

Release notes

Sourced from chrono-node's releases.

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)

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


wanasit/chrono@v2.7.9...v2.8.0

v2.7.9

  • 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

wanasit/chrono@v2.7.8...v2.7.9

v2.7.8

  • 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

wanasit/chrono@v2.7.7...v2.7.8

Commits
  • 54e7ff1 2.8.0
  • 4033a27 Fix/New: Reference date calculation base-on timezone adjusted instant
  • fe47db2 2.7.9
  • 153a211 Fix: Build error in IT files
  • cf0c7c0 Fix: Apply lints to IT files
  • e1acb29 New: (en) add "Overmorrow" support in casual date
  • 6ee154f Merge pull request #460 from ntotao/master
  • 634ec4b Merge pull request #585 from koji520/improve-ja
  • bcb68bb add support for additional range delimiters in date parsing
  • 2731a22 add 本日
  • 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 will merge this PR once CI passes on it, as requested by @sruusk.


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.0.
- [Release notes](https://github.com/wanasit/chrono/releases)
- [Commits](wanasit/chrono@v2.7.7...v2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 8, 2025
Copy link
Owner

@sruusk sruusk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit 9571307 into master Apr 8, 2025
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/chrono-node-2.8.0 branch April 8, 2025 00:49
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.

1 participant