@funboxteam/chronos
Advanced tools
Changelog
5.0.3 (23.05.2023)
Fixed the content of the package.
Previous release introduced an additional layer of subdirectories, which ruined all the imports on users' projects.
Changelog
5.0.2 (29.05.2023)
Ensured Chronos supports Node.js 18.
Improved types of parseDate
: format
always has been an optional param, but has not been marked as such.
Improved type coercions in the internal functions.
Changelog
5.0.1 (04.04.2023)
Fixed getStartOfMonth
which returned wrong value when the second argument is passed
and the difference between the current and the desired month is not equal to 0.
Changelog
5.0.0 (27.01.2023)
Added alternative functions to deal with both full and calendar days, months, years.
Removed getWeek
function.
Colsult the migration guide for more.
Changelog
4.1.2 (13.12.2022)
Fixed rounding issues for negative values in getDiffInDays
, getDiffInHours
& getDiffInMinutes
.
Changelog
4.1.1 (22.06.2022)
Fixed getRelativeDate
return value for dates related to February.
Also fixed several security vulnerabilities.
Changelog
4.1.0 (08.12.2021)
Improved typings for getWeekdayName
and getMonthName
.
Changelog
3.2.2 (10.06.2021)
Improved formatDate
for older browsers.