Skip to content

Commit

Permalink
Merge pull request #403 from web-ridge/revert-perf-fix-temporarily
Browse files Browse the repository at this point in the history
revert: performance fix for multiple ios until better solution found
  • Loading branch information
iM-GeeKy authored Jul 13, 2024
2 parents 0b2d16f + 0cf4f75 commit dc217e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Date/dateUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ export function areDatesOnSameDay(a: Date, b?: Date | null | undefined) {
}

return (
a.getUTCFullYear() === b.getUTCFullYear() &&
a.getUTCMonth() === b.getUTCMonth() &&
a.getUTCDate() === b.getUTCDate()
a.getFullYear() === b.getFullYear() &&
a.getMonth() === b.getMonth() &&
a.getDate() === b.getDate()
)
}

Expand Down

0 comments on commit dc217e4

Please sign in to comment.