Socket
Socket
Sign inDemoInstall

date-fns-tz

Package Overview
Dependencies
1
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12356Next

1.2.1

Diff

Changelog

Source

v1.2.1 (21 December 2021)

  • [DOCS] Fixed a broken link (#148)
marnusw
published 1.2.0 •

Changelog

Source

v1.2.0 (18 December 2021)

  • [ENHANCEMENT] Add formatInTimeZone
  • [DOCS] Various improvements and corrections
  • [BUGFIX] Fixed zonedTimeToUtc parsing of date strings with time zone specifiers
  • [ENHANCEMENT] Functions that return dates will return Invalid Date for bad date / time zone inputs, and format functions throw a RangeError
  • [BUGFIX] Fix format returning wrong time zone offset close to DST. (#138)
marnusw
published 1.1.7 •

Changelog

Source

v1.1.7 (17 December 2021)

  • [PERFORMANCE] Improve performance when validating the same timezones many times through caching; thanks @billthornton (#135)
  • [TESTS] Added a test for #33 which now passes
  • [BUGFIX] Fix format handling of quoted text next to a time zone token (#136)
marnusw
published 1.1.6 •

Changelog

Source

v1.1.6 (27 July 2021)

  • [BUGFIX] Added an error object to the catch of isValidTimezoneIANAString for older JS (#131)
marnusw
published 1.1.5 •

Changelog

Source

v1.1.5 (27 July 2021)

  • [BUGFIX] Fixed parsing IANA strings (#129)
marnusw
published 1.1.4 •

Changelog

Source

v1.1.4 (13 April 2021)

  • [UPGRADE] Use Yarn berry
  • [BUGFIX] Restore IE11 support (#112)
marnusw
published 1.1.3 •

Changelog

Source

v1.1.3 (27 February 2021)

  • [BUGFIX] Support IANA timezones with a hyphen in the name! (#110)
marnusw
published 1.1.2 •

Changelog

Source

v1.1.2 (20 February 2021)

  • [BUGFIX] Fix time zone offset around DST; thanks @bsvetlik & @yharaskrik! (#108, #99, #93)
marnusw
published 1.1.1 •

Changelog

Source

v1.1.1 (30 January 2021)

  • [DOCS] Add getTimezoneOffset to TOC
marnusw
published 1.1.0 •

Changelog

Source

v1.1.0 (30 January 2021)

  • [ENHANCEMENT] Add the getTimezoneOffset function (#100).
  • [UPGRADE] Upgrade dependencies
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc