Skip to content

Commit

Permalink
Fix continous check's create date array func
Browse files Browse the repository at this point in the history
  • Loading branch information
SanttuA committed May 30, 2024
1 parent 82753df commit 134f16e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/shared/overnight-calendar/overnightUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,8 @@ export function isSelectionContinous({
export function createDateArray(startDate, endDate) {
const start = new Date(startDate);
const end = new Date(endDate);
start.setHours(0, 0, 0, 0);
end.setHours(0, 0, 0, 0);
const dateArray = [];

while (start <= end) {
Expand Down

0 comments on commit 134f16e

Please sign in to comment.