refs #6028 hotFix : getByWorker days to show
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
710995b080
commit
fc53e98bb5
|
@ -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: [
|
||||||
|
|
Loading…
Reference in New Issue