refs #6589 fix(worker_absences): fix started hours
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d7454cdb19
commit
7777696cf7
|
@ -39,6 +39,7 @@ module.exports = Self => {
|
||||||
started.setFullYear(year);
|
started.setFullYear(year);
|
||||||
started.setMonth(0);
|
started.setMonth(0);
|
||||||
started.setDate(1);
|
started.setDate(1);
|
||||||
|
started.setHours(0, 0, 0, 0);
|
||||||
|
|
||||||
const ended = Date.vnNew();
|
const ended = Date.vnNew();
|
||||||
ended.setFullYear(year);
|
ended.setFullYear(year);
|
||||||
|
|
Loading…
Reference in New Issue