Skip to content

Releases: spencermountain/spacetime

6.11.0

26 Nov 20:21
49bce7f
Compare
Choose a tag to compare
  • [change] - support 6-digit millisecond, and lowercase iso
  • [change] - first week of year must start > dec 29th
  • [fix] - typescript fixes
  • update deps

6.10.1

20 Nov 22:13
4f3a362
Compare
Choose a tag to compare
  • [fix] - keep yukon dst changes (for now!) #243
  • [fix] - support new-zealand time in '13h' format #242
  • update deps

6.10.0

14 Nov 21:21
0a7d2e5
Compare
Choose a tag to compare
  • [fix] - support whitespace between time and am/pm (thanks Andy!)
  • [change] - make empty array + obj equal to null inputs #240
  • [change] - update timezones
  • [change] - remove Yukon DST preemptively

6.9.0

05 Nov 19:23
9a2c57a
Compare
Choose a tag to compare
  • [fix] - dst-change issues like #236
  • [fix] - inc/dec year issue on exact nye millisecond
  • [change] support parsing quarter-names as input - 'q2 2001'
  • [change] support parsing season-names as input - 'fall 2001'

6.8.0

28 Oct 23:36
c5ef07e
Compare
Choose a tag to compare
  • [fix] major DST issue #182 (thanks Boris!)

6.7.0

26 Oct 16:04
2eac444
Compare
Choose a tag to compare
  • add missing timezones America/Fort_Nelson, Asia/Qostanay, and America/Nuuk
  • fix comparison issue #231 effecting .isSame() and .since() accross different timezones

6.6.4

14 Sep 20:58
14fd1ef
Compare
Choose a tag to compare
  • [fix] 45m offset formatting issue
  • update deps

6.6.3

28 Aug 16:56
af32453
Compare
Choose a tag to compare
  • support for 'today' param with null inputs
  • support for 'today' param with 'today/tonight' inputs
  • interpret empty-string input like null input (as 'now')
  • typescript fixes (#220 #222)

6.6.2

31 Jul 12:10
Compare
Choose a tag to compare

v6.6.2

  • [fix] for formatting when the output is 0 😓
  • [fix] for leap-day in .date() method
  • update deps
  • add github release/publish script

5.9.0

10 Jun 17:31
a858bb8
Compare
Choose a tag to compare

5.3.0

  • added more iana timezones
  • fixed zero-padding in iso offsets
  • support half hour offsets in iso formats

5.4.0

  • support more time input formats
  • fixes offset input issue #103

5.6.0

  • support typescript types by Jacob Craig
  • use given timezone when given a spacetime object as an input
  • adds .every(unit, to) method
  • set UTC as default fallback timezone

5.7.0

  • avoid setting dates/months/hours past maximums and minimums
  • .hour(24) now changes date to tomorrow
  • faster diffs for large (decade-long) ranges
  • [big] fix awkward diff/since issues ('dec 25->jan 5' should be 0 years)

5.8.0

  • faster diff for large-number of months
  • more support for esoteric iso formats
  • add format('iso-month')
  • change fallback behaviour for set failure edge-cases

5.9.0

  • add support for changing start/end of the week
  • allow more flexible .i18n() inputs