Skip to content

v5.0.0

Compare
Choose a tag to compare
@vvo vvo released this 09 Jul 14:43
· 420 commits to main since this release

5.0.0 (2020-07-09)

Features

BREAKING CHANGES

  • API: The library now exports: import {getTimeZones, rawTimeZones,
    timeZonesNames} from "@vvo/tzdb". The explanation for each export is inside the
    README.md. tl;dr; you can now either get "raw" time zones with offset and naming
    relative to the time zone when not in DST. Or you can get "current" time time
    zones information. Which is now a method to call, because it needs to be ran at
    runtime.
  • added countryCode
  • renamed formatted to rawFormat
  • added currentTimeFormat
  • added currentTimeOffsetInMinutes