-
-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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无法在日历中不展示秒 #3808
Comments
且RangePicker无法支持hideDisabledOptions,希望组件启用showTime时,能够将属性传给TimePicker,这样options就能复用了。另外,文档中提到RangePicker的showTime类型为Object or Boolean,默认值为TimePicker Options,但试了下直接传object好像不行。 |
RaoHai
added a commit
to RaoHai/ant-design
that referenced
this issue
Nov 14, 2016
afc163
added a commit
that referenced
this issue
Nov 15, 2016
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
发生问题的环境是:
您做了什么?请提供尽可能详细的重现步骤。
引入RangePicker,增加时间选择,指定格式为“YYYY-MM-DD HH:mm”,如下
<RangePicker showTime format="YYYY-MM-DD HH:mm">
输入框是正常的
您期待的结果是:
弹出日历选择日期时,输入框中的时间也能根据参数格式化,即不显示秒
实际上的结果是:
输入框和时间选择框中,希望都能实现格式化(看了下源码,但是没能解决)
![2016-11-11_175548](https://cloud.githubusercontent.com/assets/480907/20211153/2ff57c36-a838-11e6-82a1-4d1874345d86.png)
可重现的在线演示
The text was updated successfully, but these errors were encountered: