Change Log

Latest Release
v1.5.3
4 October 2021

Bug Fixes

  • update time zone database to tz2021c

Current Dev
v1.5.3-dev.202110040803
4 October 2021

Bug Fixes

  • update time zone database to tz2021c

v1.5.2
19 March 2021

Bug Fixes

  • weekInYear does not return proper week number if time is provided
  • update to tz2021a

v1.5.1
6 January 2020

Bug Fixes

  • include tslib in the CDN bundle

v1.5.0
7 October 2019

Bug Fixes

  • timezone examples

Features

  • add converting local dates example for react

v1.4.1
4 June 2019

Bug Fixes

  • getVarDate return type
  • upgrade to tz 2019a (#58)

v1.4.0
7 January 2019

Features

  • expose cached local, UTC date accessors

v1.3.2
3 December 2018

Bug Fixes

  • stripTime if the day start is on the previous date
  • update to IANA tz 2018f

v1.3.1
25 October 2018

Bug Fixes

  • drop kendo-intl depdendency

v1.3.0
25 October 2018

Bug Fixes

  • stale dependencies in browser bundle

Features

  • timezones: introduce utilities for timezones conversions (#33)

v1.2.0
14 February 2018

Bug Fixes

  • remove extra files from package
  • bundle metadata and type definitions alongside CommonJS modules
  • serve CDN bundle for UNPKG and jsDelivr

Features

  • add es2015 bundle

v1.1.2
2 February 2018

Bug Fixes

  • clone-date: return null when invalid date is passed

v1.1.1
12 December 2017

Bug Fixes

  • duplicate comments in dist files

v1.1.0
5 October 2017

Bug Fixes

  • export durationInCenturies method
  • firstDateOfMonth: persist hour part
  • lastDateOfMonth: persist hour part

Features

  • addCenturies: method to add/substract centuries to a date
  • addDecades: method to add/substract decades to a date
  • addYears: method to add/substract years to a date
  • decates-in-century: get first/last decade in century
  • durationInCenturies: method that calculates difference in centuries
  • durationInDecades: method calculating duration in decades between 2 dates
  • durationsInMonths: add method measuring duration in months between 2 dates
  • durationsInYears: add method measuring duration in years between 2 dates
  • years-indecade: add methods for first/last years in decade

v1.0.3
28 June 2017

Bug Fixes

  • update license

v1.0.2
15 June 2017

Bug Fixes

  • update license

v1.0.1
19 May 2017

Bug Fixes

  • clone date with 0 year in IE11 correctly

v1.0.0
4 May 2017

Features

  • official release

v0.4.0
18 April 2017

Features

  • work with dates below year 100 (#6)

v0.3.2
31 January 2017

Bug Fixes

  • add-months:
    • normalize days only when resulting month is shorter
    • normalize days when calculated month is shorter (#4)

Features

  • add isEqualDate function
  • add isEqual function
  • add firstDayInWeek function
  • add cloneDate function
  • introduce add months method
  • introduce add weeks method
  • use typescript tasks