From 97a106fa69e14eb06b7d198f2b371a3bb4ee7a5a Mon Sep 17 00:00:00 2001 From: Manuel de la Torre Date: Sun, 5 Nov 2023 14:11:22 -0600 Subject: [PATCH] v3.5.2: Fixes negative offset calc and TS export. --- CHANGELOG.md | 7 +- README.md | 5 +- dist/index.js | 173 +- dist/index.js.map | 2 +- dist/index.min.js | 2 +- dist/index.min.js.map | 2 +- dist/types.d.ts | 47 + esm/index.js | 173 +- esm/index.js.map | 2 +- esm/index.min.js | 2 +- esm/index.min.js.map | 2 +- package.json | 13 +- rollup.config.js | 14 +- src/build-timezone.js | 2 +- test/unit/get-timezone.js | 6 + yarn.lock | 3201 +++++++++++++++++++++---------------- 16 files changed, 1998 insertions(+), 1655 deletions(-) create mode 100644 dist/types.d.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index fa1b81f..772ed02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [3.5.2] - 2023-11-05 +### Fixed +- [#58](https://github.com/manuelmhtr/countries-and-timezones/issues/58) Missing export for CommonJS. +- [#60](https://github.com/manuelmhtr/countries-and-timezones/issues/60) Fixed `utcOffsetStr` calculation for negative offsets non-multiple of 60. + ## [3.5.1] - 2023-07-02 ### Changed - Updated with 2023a IANA Timezones database. @@ -26,7 +31,7 @@ All notable changes to this project will be documented in this file. ## [3.3.0] - 2021-10-18 ### Added -- Added a new parameter `options` to most functions. +- Added new parameter `options` to most functions. - Added `deprecated` option to return both current and deprecated timezones. ### Changed diff --git a/README.md b/README.md index 5ccb497..10ae3ab 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Add the following script to your project (only ~9kb): - +