#3256·date-fns

Unable to parse date with locale `zh-CN` when value is any date in October

Author: Nantawat-PoothongCreated Oct 27, 2022Updated Aug 25, 2026
Labels🐛 Bug🌏 I18n✋ Help wanted

Parse function returns invalid date instead of Date Object if I use Parse function to parse date string in zh-CN locale. The other locales work fine.

We found that the Parse function has problem only if the input is any date in October.

Demo: https://codesandbox.io/s/date-fns-zhcn-locale-ynon8v