Skip to content

Commit 23ec89c

Browse files
committed
Fix date formatting broken on IE for zh-CN locale
1 parent 7ab73b5 commit 23ec89c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DateTimeInput.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const selectIfPossible = (element) => {
6363
};
6464

6565
const removeUnwantedCharacters = str => str
66+
.replace(/[]/g, '/')
6667
.split('')
6768
.filter(a => (
6869
// We don't want spaces in dates

0 commit comments

Comments
 (0)