ant-design / ant-design/pro-components
🐛[BUG] EditableProTable编辑表格,编辑列改为 valueType: 'date' 日期格式后,得到的数据后面被加上了“时分秒”,手动添加 fieldProps: { format: 'YYYY-MM-DD' },也不起效果
Open
- 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 描述
### 📷 复现步骤
### 🏞 期望结果
### 💻 复现代码
### © 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
Contributor guide
Research direction
Start at the EditableProTable entry point and trace how valueType: 'date' and fieldProps.format are handled during editing and value conversion. Reproduce the reported case with a minimal example, then verify that a date-only value remains in YYYY-MM-DD format without appended time information.
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