ant-design / ant-design/pro-components

🐛[BUG]ProFormDateRangePicker设置showTime,小时列无法正常显示

Open
#7,837 1 comment 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 描述

时间组件,设置showTime,小时分钟秒无法正常显示

### 📷 复现步骤
`
import { ProFormDateRangePicker, ProForm } from "@ant-design/pro-components";

export default () => {
return (
// 设置单个控件的
console.log(changeValues)}>


);
};

`

image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided ProFormDateRangePicker example with fieldProps.showTime enabled and compare the displayed time columns. The issue is done when the hours, minutes, and seconds columns display normally in the date-range picker.

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.