Skip to content

fix(deps): Update dependency date-fns-tz to v3#484

Closed
renovate[bot] wants to merge 2 commits intomainfrom
renovate/date-fns-tz-3.x
Closed

fix(deps): Update dependency date-fns-tz to v3#484
renovate[bot] wants to merge 2 commits intomainfrom
renovate/date-fns-tz-3.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2026

This PR contains the following updates:

Package Change Age Confidence
date-fns-tz ^2.0.1^3.2.0 age confidence

Release Notes

marnusw/date-fns-tz (date-fns-tz)

v3.2.0

Compare Source

  • [DEPS] date-fns@4.0.0 supported (#​301)
  • [PERFORMANCE] Make testDateFormatted static to avoid re-initialising it on every call (#​297) @​hurali97
  • [ENHANCEMENT] Compatibility with date-fns setDefaultOptions (#​286) @​yangchristina
  • [DOCS] Fixed table of contents links (#​284)

v3.1.3

Compare Source

  • [BUGFIX] Make getTimeZoneOffset's 2nd arg optional

v3.1.2

Compare Source

  • [BUGFIX] Fix formatInTimeZone use of timeZone string (#​280)

v3.1.1

Compare Source

  • [BUGFIX] getTimeZoneOffset's 2nd arg should be optional (#​281)

v3.1.0

Compare Source

  • [REFACTOR] Full rewrite in TypeScript (#​278) Thank you, @​brettwillis
  • [BREAKING CHANGE] OptionsWithTZ is now either FormatOptionsWithTZ or ToDateOptionsWithTZ, matching date-fns

v3.0.1

Compare Source

  • [BUGFIX] Fix named export typings (#​277)

v3.0.0

Compare Source

  • [UPGRADE] Support date-fns v3 (#​265) Thank you, @​christopherklint97
  • [BUGFIX] Correct import of date-fns@v3 format and use Babel Webpack loader for mjs files (#​271)
  • [BREAKING CHANGE] date-fns v2 is no longer supported
  • [BREAKING CHANGE] Renamed utcToZonedTime to toZonedTime to make the name less confusing, just search & replace
  • [BREAKING CHANGE] Renamed zonedTimeToUtc to fromZonedTime to make the name less confusing, just search & replace
  • [BREAKING CHANGE] All functions are now exported using named exports, this requires changing direct
    imports from import formatInTimeZone from 'date-fns-tz/formatInTimeZone' to
    import { formatInTimeZone } from 'date-fns-tz/formatInTimeZone'
  • [BREAKING CHANGE] Functions now don’t check the number of passed arguments, delegating this task to type checkers
    (This isn't fully implemented yet, but it should be the assumption moving forward, as it is in date-fns)
  • [BREAKING CHANGE] Arguments are not explicitly converted to the target types. Instead, they are passed as is,
    delegating this task to type checkers (This isn't fully implemented yet, but it should be the assumption
    moving forward, as it is in date-fns)
  • [BREAKING CHANGE] IE is no longer supported since date-fns no longer supports it
  • [BREAKING CHANGE] Removed flow support since date-fns also removed it

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@vercel
Copy link

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
plugins-studio Error Error Jan 29, 2026 4:55pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: 20269c0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sanity/rich-date-input Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​date-fns-tz@​2.0.1 ⏵ 3.2.0100 +1100100 +180100

View full report

@renovate
Copy link
Contributor Author

renovate bot commented Jan 29, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/date-fns-tz-3.x branch January 29, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant