Skip to content

Releases: prantlf/timezone-support

v3.1.0

04 Dec 19:13
c988c4a
Compare
Choose a tag to compare

3.1.0 (2022-12-04)

Bug Fixes

  • Moving moment-timezone to general dependencies (e239243)
  • TimeZoneInfo type (2a8bd0e)
  • TimeZoneInfo type (12285e0)

Features

  • Expose alias timezones links (ac83d20)

v3.0.0

04 Dec 17:54
04afbba
Compare
Choose a tag to compare

3.0.0 (2022-12-04)

Bug Fixes

  • update docs to match type signature (31548b4)
  • update docs to match type signature 2 (76ffa08)
  • Upgrade the time zone database to 2022f (d2d3085)

Features

BREAKING CHANGES

The initial ESM support exposed the sources at paths like src/index.js and worked only if you used a bundler. The proper ESM support has been provided by files built to paths like dist/index.mjs, which are mapped to export modules in package.json. For example, if you imported the main module like this:

import { getZonedTime } from './node_modules/timezone-support/src/index.js'

Change it to this:

import { getZonedTime } from 'timezone-support'

See also sections "Loading" and "Modules" in API.md.

Replacing commander in create-timezone-data with a hand-coded command-line parsing should not affect anybody, because the command-line format did not change, but there might be some undetected difference.

Declaring export modules in package.json works reliably since Node.js 14.8, but the rest of the source code and loading the files from the dist directory directly should work since Node.js 6. The script create-timezone-data needs the fs/promises implementation, which was introduced in Node.js 14.

2.2.0

04 Dec 19:01
9785edf
Compare
Choose a tag to compare

2.2.0 (2022-12-04)

Bug Fixes

  • Moving moment-timezone to general dependencies (38ed217)
  • TimeZoneInfo type (b857fac)
  • TimeZoneInfo type (9058a1c)

Features

  • Expose alias timezones links (7177547)

2.1.1

04 Dec 18:13
505c8f5
Compare
Choose a tag to compare

2.1.1 (2022-12-04)

Replace the accidentally published 2.1.0. I recommend upgrading to 3.0.0, if your integration environment allows it.

Bug Fixes

  • update docs to match type signature (50b2965)
  • update docs to match type signature 2 (b9e3645)
  • Upgrade the time zone database to 2022f (a0e5cd6)

v2.0.2

10 Jun 23:30
Compare
Choose a tag to compare

2.0.2 (2019-06-10)

Bug Fixes

  • Upgrade the time zone database to the version 2019a. (c0d147e)

v2.0.1

10 Jun 22:32
Compare
Choose a tag to compare

2.0.1 (2019-06-10)

Bug Fixes

  • Input time object for getUnixTime and convertTimeToDate does not need to include hours and minutes - defaults to midnight (e45a193)

v2.0.0

10 Jun 22:01
Compare
Choose a tag to compare

2.0.0 (2019-06-10)

Bug Fixes

  • Upgrade module dependencies (11ac1d6)
  • Use valid JavaScript identifiers for exports in vanilla browser modules (943623e)

BREAKING CHANGES

  • Previous kebab-case keys in the window object changed to camelCase global vbariables. Usage of shims or tools loading UMD modules becomes easier. See the migration guide for more information.

v1.8.1

27 Nov 07:37
Compare
Choose a tag to compare

1.8.1 (2018-11-27)

Bug Fixes

  • Upgrade development dependencies to fix a critical security vulnerability (7d6cd6e)

v1.8.0

17 Nov 21:47
Compare
Choose a tag to compare

1.8.0 (2018-11-17)

Features

  • Add separate time zone data for years 1970-2038 (d7301b5)

v1.7.0

17 Nov 12:07
Compare
Choose a tag to compare

1.7.0 (2018-11-17)

Features

  • Include the full time zone data as a separate module (be9ce2a)