fix myschedule start date to be first day of the month

This commit is contained in:
Dobromir Popov
2024-03-13 13:34:13 +02:00
parent 1fb9bae130
commit aff13c631d
2 changed files with 8 additions and 3 deletions

View File

@ -288,6 +288,7 @@ exports.getMonthDatesInfo = function (date) {
nrOfWeeks: Math.ceil((lastMonday.getDate() - firstMonday.getDate()) / 7)
};
};
exports.getMonthInfo = exports.getMonthDatesInfo;
exports.getMonthlyScheduleRange = function (date) {
let info = exports.getMonthDatesInfo(date);