[Bug Report] antd-v5 DatePicker 如果选择用季度方式的bug
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
- [x] I have searched the [issues](https://github.com/alibaba/formily/issues) of this repository and believe that this is not a duplicate.
### Steps to reproduce
设置为选择季度的时候显示错误,并且不管选第几季度,都是显示成2024-\11
https://antd5.formilyjs.org/zh-CN/components/date-picker官网上就有这个问题
### What is actually happening?
可能是因为antd v5换了dayjs之后造成的问题
### Package
@formily/antd-v5@2.3.2
从antd-v5之后一直有这个问题
---
Contributor guide
Research direction
Start by reproducing the reported behavior with the @formily/antd-v5@2.3.2 DatePicker using picker="quarter", then inspect how the antd-v5 package handles the quarter value after the move to dayjs. Done means each selected quarter displays the correct year and quarter rather than always showing 2024-11.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100