Skip to content

Latest commit

 

History

History
200 lines (87 loc) · 7.03 KB

CHANGELOG.md

File metadata and controls

200 lines (87 loc) · 7.03 KB

2.8.0 (2025-01-28)

Features

  • add getTotalDays function to calendar date range (d40aaf9)

2.7.2 (2024-10-23)

Bug Fixes

  • allow date below year 1000 for fromDateWithTimeZone (67ce710)

2.7.1 (2024-10-23)

Bug Fixes

  • add caching for intl formatter (fe98ecf)

2.7.0 (2024-09-18)

Features

2.6.2 (2024-07-15)

Bug Fixes

  • add removed toDate method again and mark as deprecated (#314) (cf487e7)

2.6.1 (2024-07-12)

Bug Fixes

  • add better constructor validation and error logging (#312) (05f95b0)

2.6.0 (2024-06-07)

Features

  • add toDateLocal and rename toDate to toDateUTC (#303) (4fcc5f1)

2.5.0 (2024-03-08)

Features

  • add isEqualsOrBefore and isEqualsOrAfter methods (#286) (8b6f286)

2.4.1 (2024-02-16)

Bug Fixes

  • calculate week of the year during runtime (22b1f8f)

2.4.0 (2024-02-09)

Features

  • add iso week number according ISO-8601 (acb4d09)

2.3.0 (2024-02-08)

Bug Fixes

  • update to format function to work correctly in different timezones (15ffa0e)

Features

  • add additional formatting variant with Intl api (d4c7823)

2.2.1 (2023-10-18)

Bug Fixes

2.2.0 (2023-06-29)

Features

  • add isBefore and isAfter functions (2760e66)

2.1.0 (2023-05-30)

Features

  • add static sort functions (b11bbbb)

2.0.1 (2023-04-18)

Bug Fixes

  • use UTC Day to get the correct weekday in the constructor (c2d9365)

2.0.0 (2022-12-14)

Features

  • add day of the week and some weekday helper functions (b33bff3)
  • change month range from 0-11 to 1-12 (9e18851)

BREAKING CHANGES

  • change month range from 0-11 to 1-12

1.8.0 (2022-10-13)

Features

  • add static constructors with the option to pass the time zone (ddeceb5)

1.7.0 (2022-09-14)

Features

  • add static methods to construct CalendarDate from a Date object (9d2edc4)

1.6.0 (2022-06-03)

Features

  • add difference in months method for CalendarDateRange (e6465c8)

1.5.0 (2021-09-29)

Features

  • add static constructor for nowLocal and nowUTC (f14f93c)

1.4.0 (2021-05-17)

Features

  • add toFormat function 17b9b37

1.3.0 (2021-04-08)

Features

  • add methods to check for last and first of month 0711de4

1.2.0 (2021-04-07)

Features

  • add static functions to determine the min or max calendarDate 30168b8

1.1.2 (2021-03-22)

Bug Fixes

  • addMonths not returning correct year for overflow into december 564e2dd

1.1.1 (2021-03-18)

Bug Fixes

  • add test case for wrong constructor properties 56636b2

1.1.0 (2021-03-18)

Features

  • remove unix timestamp constructor option c410cee

1.0.0 (2021-03-16)

Features

  • add CalendarDate 641c7a8
  • add CalendarDateRange 233c31b