Closure hours
gitea/salix/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Joan Sanchez 2022-10-10 07:49:08 +02:00
parent 9befa2531b
commit 4ecbb59ac0
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ module.exports = Self => {
Self.closeAll = async() => { Self.closeAll = async() => {
const toDate = new Date(); const toDate = new Date();
toDate.setHours(0, 0, 0, 0);
toDate.setDate(toDate.getDate() - 1); toDate.setDate(toDate.getDate() - 1);
const todayMinDate = new Date(); const todayMinDate = new Date();