Skip to content

Commit 0cf4f75

Browse files
committed
revert: performance fix for multiple ios until better solution found
1 parent 0b2d16f commit 0cf4f75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Date/dateUtils.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ export function areDatesOnSameDay(a: Date, b?: Date | null | undefined) {
116116
}
117117

118118
return (
119-
a.getUTCFullYear() === b.getUTCFullYear() &&
120-
a.getUTCMonth() === b.getUTCMonth() &&
121-
a.getUTCDate() === b.getUTCDate()
119+
a.getFullYear() === b.getFullYear() &&
120+
a.getMonth() === b.getMonth() &&
121+
a.getDate() === b.getDate()
122122
)
123123
}
124124

0 commit comments

Comments
 (0)