Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangePicker异常,RangePicker中timePicker的上下午无法实现中文 #1635

Closed
xuqiang1227 opened this issue May 11, 2016 · 3 comments
Closed
Assignees

Comments

@xuqiang1227
Copy link

xuqiang1227 commented May 11, 2016

今天升级了antd到1.0版本,使用RangePicker时出现了控制台警告信息,如下:

Failed propType: Invalid prop `selectedValue` of type `array` supplied to `DateTBody`, expected `object`. Check the render method of `DateTable`.

当参数showTime设置了locale,无法将其中的timePicker的AM和PM转化为中文。
如图所示(抱歉,上传不了图,给个连接吧):
http://static.oschina.net/uploads/space/2016/0511/131758_ZKZo_556334.png

当选择了日期后,显示正常, 如下图(抱歉,上传不了图,给个连接吧):
http://static.oschina.net/uploads/space/2016/0511/131924_b8Fh_556334.png

Online demo

http://codepen.io/xiaoyi_1222/pen/zqbZJr

@benjycui
Copy link
Contributor

PropTypes 的问题要进 rc-calendar 修。

@benjycui benjycui self-assigned this May 11, 2016
@benjycui
Copy link
Contributor

@lock
Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants