Skip to content

Releases: kshetline/tubular_time

v3.3.2

01 Aug 18:26
41911fb

Choose a tag to compare

  • Exposed utToTaiMillis() and taiToUtMillis() functions to public API.
  • Added minimizeFields() functions, and corresponding DateTime.wallTimeSparse accessor.
  • Allow leap seconds to be parsed.
  • Fixed type signature of DateTime.format() to accept string[] for localeOverride
  • Added functions getMinDaysInWeek(), getStartOfWeek(), getWeekend(), and constants defaultLocale, hasDateTimeStyle, hasIntlDateTime.

v3.1.0

01 Jul 01:51
8ada97c

Choose a tag to compare

  • Added option to initialize DateTime object with TAI.
  • Made timezone names case insensitive.
  • Added DateTimeFormatOptions options to Ixx format strings.
  • Improved i18n support for AM/PM time formats.
  • newDateTimeFormat function for creating DateTimeFormat instances with more flexible options.
  • TAI treated as named timezone or displayed with formatted UTC offsets.

v3.0.3

23 Jun 16:18
fef0bf8

Choose a tag to compare

  • New hybrid ES6/ES2018 Angular-friendly package design — no more legacy ES5 code.
  • New DateTime.get() method, corresponding to DateTime.set().
  • Fixed problem with "small" timezone definitions getting optimized away.

v2.6.6

11 May 20:53
4524c4f

Choose a tag to compare

Security dependency updates.

v2.6.5

06 May 02:06
8d4d1ca

Choose a tag to compare

Update dependencies.

v2.6.4

28 Apr 01:20
f24f7ec

Choose a tag to compare

v2.6.2

25 Apr 12:24
1de0107

Choose a tag to compare

Fix Safari compatibility issue.

v2.6.1

24 Apr 19:52
49003b2

Choose a tag to compare

  • Add explicit timeout for retrieving timezone data.
  • Documentation updates.

v2.6.0

20 Apr 15:20

Choose a tag to compare

  • Added leap second handling and TAI/TDT support.
  • Now supports Universal Time with smooth, integrated transition between calculated UT1, proleptic UTC, and official UTC.
  • Uses timezone data generated by @tubular/time-tzdb.
  • Added jde, mjde, jdu, mjdu, and deltaTai fields to DateAndTime.
  • Case-insensitive timezone lookup.
  • Added ability to add/subtract TAI time.
  • Added negative length option to toIsoString().
  • Deprecated utcTimeMillis and utcTimeSeconds in favor of utcMillis and utcSeconds.
  • Added Timezone.version.

v2.5.0

15 Mar 18:39
50ed5a0

Choose a tag to compare

  • Add negative length option to toIsoString()
  • Added Timezone.version to check current tz database version.
  • Trimmed spurious initial transition entry in some timezones.
  • Now using timezone data generated by @tubular/time-tzdb.