Skip to content

Commit

Permalink
v3.5.2: Fixes negative offset calc and TS export.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmhtr committed Nov 5, 2023
1 parent 241dd0f commit 97a106f
Show file tree
Hide file tree
Showing 16 changed files with 1,998 additions and 1,655 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Add the following script to your project (only ~9kb):
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/countries-and-timezones@latest/dist/index.min.js" type="text/javascript"></script>

<!-- Or specify a version -->
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/countries-and-timezones@v3.4.0/dist/index.min.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/countries-and-timezones@v3.5.2/dist/index.min.js" type="text/javascript"></script>

<!-- This will export a variable named "ct": -->
<script type="text/javascript">
Expand Down Expand Up @@ -398,8 +398,7 @@ A timezone is defined by the following parameters:

## Support

Consider supporting this project by [buying me a beer](https://github.com/sponsors/manuelmhtr) 🍺

Consider [sponsoring this project](https://github.com/sponsors/manuelmhtr).

## Working on something more complex?

Expand Down
173 changes: 66 additions & 107 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 97a106f

Please sign in to comment.