Skip to content

Releases: kshetline/tubular_time

v3.8.11

16 Jan 02:12
740387c

Choose a tag to compare

  • Update timezone data to 2022g.
  • Fix missing country and population info from some aliased timezones names.

v3.8.8

06 Nov 21:19
f8566ed

Choose a tag to compare

  • Improve timezone alias matching.
  • Fix zh-tw local AM/PM parsing.
  • Update to 2022f.

v3.8.2

01 May 01:09
cb04428

Choose a tag to compare

Update dependencies.

v3.8.1

19 Mar 05:23
0a9d5e7

Choose a tag to compare

  • Improvements for more consistent TAI-to-UTC-and-back time conversions.
  • Update to 2022a.

v3.7.5

22 Nov 04:32
0d36ef5

Choose a tag to compare

Update ΔT values from 1992-2019.

v3.7.4

21 Nov 19:26
1bb4f41

Choose a tag to compare

  • Fix bug in splicing Intl-derived timezone transitions onto tabularly-defined data.
  • Update 2022 estimated ΔT.

v3.7.3

24 Oct 20:22
5475c85

Choose a tag to compare

  • Update to 2021e.
  • Prevent exceptions from being thrown by null/undefined locale settings. Treat null/undefined/empty string locale as default locale.
  • Add caching to speed up format parsing.
  • Add Timezone.getAliasesForZone() method.
  • Gracefully handle timezone names which may be new and known to @tubular/time, but which are not yet known to JavaScript's Intl package.
  • Fix z/zz formatting with Intl-unrecognized timezone names.
  • Add Timezone.stdRule and Timezone.dstRule accessors to get textual descriptions of a Timezone's latest rules for starting and ending DST (undefined if timezone currently does not observe DST).
  • Improve format access to short-form timezone names.

v3.5.1

30 Aug 18:03
069d890

Choose a tag to compare

Added Y~ and MMM~ format tokens for CJK formatting, extending the new CJK formatting added in v3.5.0.

v3.5.0

30 Aug 09:21
683d058

Choose a tag to compare

  • Special CJK date formatting options

The date formatting tokens YYYY, y, MMMM, MM, M, DD, and D can now have an optional trailing tilde (~) added. This is for special handling of Chinese, Japanese, and Korean (CJK) date notation. The ~ is replaced, where appropriate, with , , or for Chinese and Japanese, and with , , or for Korean. Korean formatting also adds a space character when the following character is a letter or digit, but not when punctuation or the end of the format string comes next.

For all other languages, ~ is replaced with a space character when the following character is a letter or digit, or simply removed when followed by punctuation or the end of the format string.

  • Added Timezone.getAllTransitions() function.
  • Improved retrieval of timezone updates, taking advantage of tzexplorer.org.

v3.4.0

21 Aug 18:55
042c8cb

Choose a tag to compare

  • Add Timezone.getAllTransitions() function.
  • Improve retrieval of timezone updates, taking advantage of tzexplorer.org.