ant-design / ant-design/pro-components
🐛[BUG] ProFormDateTimeRangePicker组件value格式错误,无法格式化!!!
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
ProFormDateTimeRangePicker 组件抛出的结果值异常导致无法处理
不是规范的dayjs格式
### 📷 复现步骤
使用ProFormDateTimeRangePicker组件,在submit时查看对应输出即可
下图是异常结果

### 🏞 期望结果
下图是antd组件抛出的结果

### 💻 复现代码
```javascript
{console.log(values)}}>
````
### © 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
Contributor guide
Research direction
Start at the ProFormDateTimeRangePicker entry point and reproduce the issue with the QueryFilter example in the report. Compare the submitted value with the Ant Design component’s result and determine the expected dayjs-compatible format. Done means the range picker submits a standard, processable value rather than the reported malformed result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100