ant-design / ant-design/pro-components

🐛[BUG] EditableProTable 组件 配置columns,valuType为date;配置format为'DD/MM/YYYY';在赋值的时候 无法解析 format 格式的时间字符串

Open
#8,863 0 comments 0 reactions 0 assignees View on GitHub
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 描述

EditableProTable 组件 配置columns,valuType为date;配置format为'DD/MM/YYYY';在赋值的时候 无法解析 format 格式的时间字符串

### 📷 复现步骤

### 🏞 期望结果

### 💻 复现代码


### © 版本信息

- ProComponents 版本: "@ant-design/pro-components": "^2.7.9"
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start at the EditableProTable entry point and reproduce the issue with the supplied columns and value data, especially the date field using the DD/MM/YYYY format. Trace how the value is parsed when assigned and verify that the example date string is handled consistently with the configured format.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.