Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
fix(deal/task/ticket/growthHack): fix next day filter
Browse files Browse the repository at this point in the history
Closes #567
  • Loading branch information
munkhjin0223 committed Sep 17, 2019
1 parent 79713f0 commit 1bfcbdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/resolvers/queries/boardUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ export const generateCommonFilters = async (args: any) => {
const tommorrow = moment().add(1, 'days');

filter.closeDate = {
$gte: new Date(tommorrow.startOf('day').format('YYYY-MM-DD')),
$lte: new Date(tommorrow.endOf('day').format('YYYY-MM-DD')),
$gte: new Date(tommorrow.startOf('day').toISOString()),
$lte: new Date(tommorrow.endOf('day').toISOString()),
};
}

Expand Down

0 comments on commit 1bfcbdc

Please sign in to comment.