Releases: kshetline/tubular_time
Releases · kshetline/tubular_time
v3.8.11
v3.8.8
v3.8.2
v3.8.1
v3.7.5
v3.7.4
v3.7.3
- 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
Intlpackage. - Fix z/zz formatting with
Intl-unrecognized timezone names. - Add
Timezone.stdRuleandTimezone.dstRuleaccessors to get textual descriptions of aTimezone's latest rules for starting and ending DST (undefinedif timezone currently does not observe DST). - Improve format access to short-form timezone names.
v3.5.1
v3.5.0
- 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.