refs #6028 hotFix : getByWorker days to show
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-01-24 10:48:01 +01:00
parent 710995b080
commit fc53e98bb5
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
const {ConsoleMessage} = require('puppeteer');
const mergeFilters = require('vn-loopback/util/filter').mergeFilters; const mergeFilters = require('vn-loopback/util/filter').mergeFilters;
module.exports = Self => { module.exports = Self => {
@ -40,7 +42,7 @@ module.exports = Self => {
currentDate.setHours(0, 0, 0, 0); currentDate.setHours(0, 0, 0, 0);
const nextDay = Date.vnNew(); const nextDay = Date.vnNew();
nextDay.setDate(currentDate.getDate() + 1); nextDay.setDate(currentDate.getDate() + 1);
nextDay.setHours(0, 0, 0, 0);
const filter = { const filter = {
where: { where: {
and: [ and: [