Skip to content

Commit

Permalink
open nov 19
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymPopov committed Nov 7, 2024
1 parent 220f0f3 commit c375211
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/isNotMonTueWed.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ export const isNotMonTueWed = date => {
const dayNumber = new Date(date).getDate();

if (
((dayNumber === 5 ||
(dayNumber === 5 ||
dayNumber === 6 ||
dayNumber === 12 ||
dayNumber === 13 ||
dayNumber === 18) &&
month === 10) ||
(dayNumber === 29 && month === 9)
dayNumber === 18 ||
dayNumber === 19) &&
month === 10
)
return true;
return day !== 1 && day !== 2 && day !== 3;
Expand Down

0 comments on commit c375211

Please sign in to comment.