Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

date-fns-tz

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-fns-tz - npm Package Versions

13
7

3.0.0-beta.4

Diff

marnusw
published 3.0.0-beta.3 •

marnusw
published 3.0.0-beta.2 •

marnusw
published 3.0.0-beta.1 •

marnusw
published 3.0.0-beta.0 •

marnusw
published 2.0.1 •

Changelog

Source

v2.0.1 (9 March 2024)

  • [DOCS] Fix incorrect output comment (#270)
  • [DEPS] Limit to date-fns 2.x (#262, #267)
  • [REFACTOR] tzTokenizeDate: Remove weird unneeded regex (#254)
  • [BUGFIX] Improving correctness of the formatInTimeZone close to the DST threshold (#247)
  • [ENHANCEMENT] Use hourCycle for browsers that support hour cycle formatting (#231)
  • [BUGFIX] Fix tzParseTimezone to parse 00:30 timezones properly (#229)
marnusw
published 2.0.0 •

Changelog

Source

v2.0.0 (30 January 2023)

  • [BREAKING CHANGE] Optimize configuration for ESM exports (entry points for cjs / esm / typescript) (#212)

Upgrade guide: Both CJS and ESM imports now use the default import paths. CJS will continue working unchanged; to fix ESM imports:

Before:

import { format } from 'date-fns-tz/esm'
import utcToZonedTime from 'date-fns-tz/esm/utcToZonedTime'

After:

import { format } from 'date-fns-tz'
import utcToZonedTime from 'date-fns-tz/utcToZonedTime'
marnusw
published 1.3.8 •

Changelog

Source

v1.3.8 (30 January 2023)

  • [TESTS] Tests documenting zonedTimeToUtc daylight saving jumps (#220)
  • [TYPES] Update format types to match date-fns (#199)
  • [BUGFIX] Fixed undefined timezone error (#214)
marnusw
published 1.3.7 •

Changelog

Source

v1.3.7 (31 August 2022)

  • [BUGFIX] Fixed getting the time zone name in partsTimeZone out of formatToParts (#196)
  • [BUGFIX] tzTokenizeDate uses month: numeric as a possible fix for #190
marnusw
published 1.3.6 •

Changelog

Source

v1.3.6 (13 July 2022)

  • [BUGFIX] Remove the use of const (#192)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc