We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 735c469 commit 1018655Copy full SHA for 1018655
1 file changed
src/Date/dateUtils.tsx
@@ -272,13 +272,13 @@ export function useInputFormatter({ locale }: { locale: string | undefined }) {
272
273
export function getStartOfDay(d: Date): Date {
274
const startOfDay = new Date(d)
275
- startOfDay.setUTCHours(0, 0, 0, 0)
+ startOfDay.setHours(0, 0, 0, 0)
276
return startOfDay
277
}
278
279
export function getEndOfDay(d: Date): Date {
280
const endOfDay = new Date(d)
281
- endOfDay.setUTCHours(23, 59, 59, 999)
+ endOfDay.setHours(23, 59, 59, 999)
282
return endOfDay
283
284
0 commit comments