Skip to content

Commit bc9fec4

Browse files
fix: rollback UTC
1 parent a769dab commit bc9fec4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Date/DatePickerModalContentHeader.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export function HeaderContentSingle({
140140
return new Intl.DateTimeFormat(locale, {
141141
month: 'short',
142142
day: 'numeric',
143-
timeZone: 'UTC',
144143
})
145144
}, [locale])
146145

@@ -175,7 +174,6 @@ export function HeaderContentMulti({
175174
return new Intl.DateTimeFormat(locale, {
176175
month: 'short',
177176
day: 'numeric',
178-
timeZone: 'UTC',
179177
})
180178
}, [locale])
181179

@@ -218,8 +216,7 @@ export function HeaderContentRange({
218216
const formatter = useMemo(() => {
219217
return new Intl.DateTimeFormat(locale, {
220218
month: 'short',
221-
day: 'numeric',
222-
timeZone: 'UTC',
219+
day: 'numeric'
223220
})
224221
}, [locale])
225222

0 commit comments

Comments
 (0)