refs #6589 fix(worker_absences): fix started hours
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-12-19 13:58:08 +01:00
parent d7454cdb19
commit 7777696cf7
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ module.exports = Self => {
started.setFullYear(year);
started.setMonth(0);
started.setDate(1);
started.setHours(0, 0, 0, 0);
const ended = Date.vnNew();
ended.setFullYear(year);