Skip to content

Commit

Permalink
revert: performance fix for multiple ios until better solution found
Browse files Browse the repository at this point in the history
  • Loading branch information
iM-GeeKy committed Jul 13, 2024
1 parent 0b2d16f commit 0cf4f75
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 0cf4f75

Please sign in to comment.