iamkun / dayjs

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
https://day.js.org
MIT License
47k stars 2.3k forks source link

【bug】customParseFormat Quarter Error #845

Open Miantang opened 4 years ago

Miantang commented 4 years ago

Describe the bug

image

online: https://runkit.com/miantang/5e74af3e72df8600187ce595

Expected behavior need Return "2019Q3"

Information

ygj6 commented 4 years ago

@Miantang Same as https://github.com/iamkun/dayjs/issues/1028.

iamkun commented 4 years ago

CustomParseFormat plugin does not support parsing Quarter at present. And will add it later.

jordan-erisman commented 3 years ago

Is there a workaround for this?