We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96ec303 commit e0d2e5aCopy full SHA for e0d2e5a
Timing-Functions/GetMonthDays.js
@@ -21,7 +21,7 @@ const getMonthDays = (monthNumber, year) => {
21
if (the30DaysMonths.includes(monthNumber)) { return 30 }
22
23
// Check for Leap year
24
- if (((year % 400) === 0)||(((year % 100) != 0) && ((year % 4) === 0))) { return 29 }
+ if (((year % 400) === 0) || (((year % 100) !== 0) && ((year % 4) === 0))) { return 29 }
25
26
return 28
27
}
0 commit comments