Date Math Changelog

Latest Release
v1.5.14

10 October 2024

Bug Fixes

  • update time zone database to 2024b

Current Dev
v1.5.14-dev.202410071042

7 October 2024

Bug Fixes

  • update time zone database to 2024b

v1.5.13

23 April 2024

Bug Fixes

  • update time zone database to 2024a

v1.5.12

26 September 2023

Bug Fixes

  • December abbreviation in ZonedDate

v1.5.11

5 May 2023

Bug Fixes

  • update time zone database to 2023c

v1.5.10

3 January 2023

Bug Fixes

  • update TZ Database 2022g (2022-11-29)

v1.5.9

3 October 2022

Bug Fixes

  • update time zone database

v1.5.8

12 September 2022

Bug Fixes

  • update time zone database

v1.5.7

16 June 2022

Bug Fixes

  • update angular polyfills (#115)

v1.5.6

1 April 2022

Bug Fixes

  • update time zone database to 2022a (Released 2022-03-15)

v1.5.5

2 March 2022

Bug Fixes

  • cdn bundles global imports

v1.5.4

5 November 2021

Bug Fixes

  • update time zone database to 2021e (Released 2021-10-21)

v1.5.3

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.3

27 March 2017

Bug Fixes

  • isEqual: consider null values as equal

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