Date Math

<a name"1.4.1"></a>

1.4.1 (2019-06-04)

Bug Fixes

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

<a name"1.4.0"></a>

1.4.0 (2019-01-07)

Features

  • expose cached local, UTC date accessors

<a name"1.3.2"></a>

1.3.2 (2018-12-03)

Bug Fixes

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

<a name"1.3.1"></a>

1.3.1 (2018-10-25)

Bug Fixes

  • drop kendo-intl depdendency

<a name"1.3.0"></a>

1.3.0 (2018-10-25)

Bug Fixes

  • stale dependencies in browser bundle

Features

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

<a name"1.2.0"></a>

1.2.0 (2018-02-14)

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

<a name"1.1.2"></a>

1.1.2 (2018-02-02)

Bug Fixes

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

<a name"1.1.1"></a>

1.1.1 (2017-12-12)

Bug Fixes

  • duplicate comments in dist files

<a name"1.1.0"></a>

1.1.0 (2017-10-05)

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

<a name"1.0.3"></a>

1.0.3 (2017-06-28)

Bug Fixes

  • update license

<a name"1.0.2"></a>

1.0.2 (2017-06-15)

Bug Fixes

  • update license

<a name"1.0.1"></a>

1.0.1 (2017-05-19)

Bug Fixes

  • clone date with 0 year in IE11 correctly

<a name"1.0.0"></a>

1.0.0 (2017-05-04)

Features

  • official release

<a name"0.4.0"></a>

0.4.0 (2017-04-18)

Features

  • work with dates below year 100 (#6)

<a name"0.3.3"></a>

0.3.3 (2017-03-27)

Bug Fixes

  • isEqual: consider null values as equal

<a name"0.3.2"></a>

0.3.2 (2017-01-31)

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
 /