Repository navigation
Releases: freshworks-oss/dayjs
Releases · freshworks-oss/dayjs
Release list
FD-1.11.13
What's Changed
- Upgrade version from 1.11.9 to 1.11.13 by @ahamedalthaf in #7
Full Changelog: FD-1.11.9.3...FD-1.11.13
Time validation not working properly for Chinese languages
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)
Time validation not working properly for languages does not have AM/PM
Time formatting not working properly for languages that has different value apart from AM and PM
Ex:
Japanese Language:
Before fix:
dayjs('9:00 午後', 'h:mm A') - 9:00 午前 (Wrong)
After fix:
dayjs('9:00 午後', 'h:mm A') - 9:00 午後 (Correct)
Vietnamese locale throwing error when validating the date with 'MMM'
Vietnamese locale throwing error when validating the date with 'MMM'.
Before:
// Valid Date
dayjs('01 Th09 2019', 'DD MMM YYYY', 'vi').isValid() -> false
After
dayjs('01 Th09 2019', 'DD MMM YYYY', 'vi').isValid() -> true