Skip to content

Time validation not working properly for Chinese languages

Choose a tag to compare

@ahamedalthaf ahamedalthaf released this 08 Sep 15:48
· 65 commits to dev since this release
22445e1

Time validation not working properly for Chinese languages

Ex:

Chinese Language:

Before fix:

dayjs('12:00 中午', 'h:mm A', 'zh').format('h:mm A') - 12:00 凌晨(Wrong)

After fix:

dayjs('12:00 中午', 'h:mm A', 'zh').format('h:mm A') - 12:00 中午(Correct)