We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0b4214 + 63fb984 commit 3f73414Copy full SHA for 3f73414
src/Date/CalendarEdit.tsx
@@ -148,7 +148,7 @@ function CalendarInputPure(
148
149
const inputFormat = React.useMemo(() => {
150
// TODO: something cleaner and more universal?
151
- const inputDate = formatter.format(new Date(Date.UTC(2020, 10 - 1, 1)))
+ const inputDate = formatter.format(new Date(2020, 10 - 1, 1))
152
return inputDate
153
.replace('2020', 'YYYY')
154
.replace('10', 'MM')
0 commit comments