Data Math Changelog

v1.5.1-dev.202001021603

Bug Fixes

  • include tslib in the CDN bundle (58f8afa4)

v1.5.1

Bug Fixes

  • include tslib in the CDN bundle (58f8afa4)

v1.5.0

Bug Fixes

Features

  • add converting local dates example for react (d4a9892c)

v1.4.1

Bug Fixes

v1.4.0

Features

  • expose cached local, UTC date accessors (81d8d407)

v1.3.2

Bug Fixes

  • stripTime if the day start is on the previous date (d1540b47)
  • update to IANA tz 2018f (1f2b0d02)

v1.3.1

Bug Fixes

v1.3.0

Bug Fixes

  • stale dependencies in browser bundle (6e6f6e9f)

Features

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

v1.2.0

Bug Fixes

  • remove extra files from package (841481b1)
  • bundle metadata and type definitions alongside CommonJS modules (3a74d8d7)
  • serve CDN bundle for UNPKG and jsDelivr (1ba3cdd9)

Features

v1.1.2

Bug Fixes

  • clone-date: return null when invalid date is passed (c00a3aa2)

v1.1.1

Bug Fixes

  • duplicate comments in dist files (c7d7c77a)

v1.1.0

Bug Fixes

  • export durationInCenturies method (39b21efb)
  • firstDateOfMonth: persist hour part (50a8ec65)
  • lastDateOfMonth: persist hour part (fa8d6e50)

Features

  • addCenturies: method to add/substract centuries to a date (a0489b9e)
  • addDecades: method to add/substract decades to a date (c59c5bf7)
  • addYears: method to add/substract years to a date (51d0a31a)
  • decates-in-century: get first/last decade in century (d7067b08)
  • durationInCenturies: method that calculates difference in centuries (3508b4c2)
  • durationInDecades: method calculating duration in decades between 2 dates (43e431ed)
  • durationsInMonths: add method measuring duration in months between 2 dates (af868338)
  • durationsInYears: add method measuring duration in years between 2 dates (f25183f0)
  • years-indecade: add methods for first/last years in decade (0a4066b3)

v1.0.3

Bug Fixes

v1.0.2

Bug Fixes

v1.0.1

Bug Fixes

  • clone date with 0 year in IE11 correctly (386d966e)

v0.4.0

Features

  • work with dates below year 100 (#6) (98e654af)

v0.3.3

Bug Fixes

  • isEqual: consider null values as equal (af1ab35f)