spacetime

A lightweight javascript timezone library

OTHER License

Downloads
401.8K
Stars
4K
Committers
56
spacetime - 7.0.0

Published by spencermountain almost 3 years ago

7.0.0 [Jan 2022]

  • [change] - update to 2022 DST dates
  • [change] - return 'Sep' instead of 'Sept' in format('month-short') and 'MMM' #304
  • [change] - convert to ES-modules, + exports fields
  • [change] - make .every() results inclusive of start
  • [change] - alias old IANA codes to contemporary ones
  • [change] - move cal plugin to repo spencermountain/scal
  • [new] - add ISO duration to .since() results (thanks Adam)
  • [fix] - iso-parsing issues #320
  • [fix] - typescript issue #305
  • [fix] - subtract months issue #312
  • [fix] - unix 'yy' format issue #302
  • [change] - return 'Etc/GMT' not 'Etc/GMT+0'
  • [change] - update deps
  • bump + republish plugins
spacetime - 6.16.3

Published by spencermountain about 3 years ago

  • [new] - .daysInMonth() method (thanks m1212e!)
  • [change] - replace deprecated timezone aliases (thanks Michael!)
  • [change] - date/day naming inconsistency in add method (thanks Andy!)
  • [fix] - typescript fixes (thanks Adam!)
  • [fix] - many-year add issue #235
  • [fix] - iso format year-padding for BC years
  • update deps
spacetime - 6.16.2

Published by spencermountain over 3 years ago

  • [fix] - offset for asia/baku #292
  • [fix] - date-parser for #291
  • update deps
spacetime - 6.16.1

Published by spencermountain over 3 years ago

  • [new] - add millisecond pad #283
  • update deps
spacetime - 6.16.0

Published by spencermountain over 3 years ago

  • [change] - improvements to date-sting parsers
  • [change] - drop ie11 polyfills in min.js build
  • [change] - minify and stop compiling esm build
spacetime - 6.15.2

Published by spencermountain over 3 years ago

  • [fix] - .add(n, 'weekend')
  • update deps
spacetime - 6.15.1

Published by spencermountain over 3 years ago

  • [fix] - Fix pacific/chatham iana DST change time (thanks Michael!)
  • update deps
spacetime - 6.15.0

Published by spencermountain over 3 years ago

  • [fix] - .time('4:88') now has ceiling of 59m
  • [new] - add goFwd params to all (appropriate) setter methods
spacetime - 6.14.0

Published by spencermountain over 3 years ago

  • [change] - add missing timezones from indiana and argentina
  • [change] - set old timezones as aliases of newer ones
  • [new] - add min, max methods
  • [change] - comment-out tests that were failing in some timezones
  • update deps, and documentation
spacetime - 6.13.1

Published by spencermountain over 3 years ago

hotfix for 0.5 date infinite-loop

spacetime - 6.13.0

Published by spencermountain over 3 years ago

  • [change] - support more alt day formats like .day('mo')
  • [change] - allow .week() to return 53
  • [change] - support swapped-parameters for .each()
  • [change] - support swapped-parameters for .isSame()
  • update deps
spacetime - 6.12.5

Published by spencermountain over 3 years ago

  • [fix] - add/minus by quarter issue
spacetime - 6.12.4

Published by spencermountain over 3 years ago

  • [fix] - typescript issue
spacetime - 6.12.3

Published by spencermountain over 3 years ago

  • [fix] - fix .every() >= issue
  • [fix] - fix today-passthrough in some date formats
  • [change] - use updated DST changes (171 changes)
  • [change] - support explicit local-timezone (thanks Mitsunee)
  • update deps
spacetime - 6.12.2

Published by spencermountain almost 4 years ago

  • [change] - support explicit local-timezone (thanks Mitsunee)
  • [change] - support i18n titlecase config (thanks Kayla)
  • [fix] - endOf('season') issue
  • [fix] - fix character escaping issue in unixFmt method #207
    update deps
spacetime - 6.12.1

Published by spencermountain almost 4 years ago

  • [new] - support for '97 year format
  • [change] - support 13h00 time format
  • [change] - support 09.13.2013 and 13.09.2013 formats
  • [fix] - .add() issue sometimes effecting quarter/season
spacetime - 6.12.0

Published by spencermountain almost 4 years ago

  • [new] - support period-seperated short-iso format
  • [new] - support fortnight in add/remove methods
  • [new] - support 'tues' 'thurs' in day() method
  • [new] - support '2002-06' truncated iso input
spacetime - 6.11.0

Published by spencermountain almost 4 years ago

  • [change] - support 6-digit millisecond, and lowercase iso
  • [change] - first week of year must start > dec 29th
  • [fix] - typescript fixes
  • update deps
spacetime - 6.10.1

Published by spencermountain almost 4 years ago

  • [fix] - keep yukon dst changes (for now!) #243
  • [fix] - support new-zealand time in '13h' format #242
  • update deps
spacetime - 6.10.0

Published by spencermountain almost 4 years ago

  • [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