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
官网推荐使用 Day.js 替换 momentjs后DataPicker组件显示不正确 #18
Comments
问题已复现 请先使用 0.0.9 版插件 |
等这个PR合并之后 应该就正常了 react-component/picker#42 |
好的,谢谢 |
Fixed. Please re-install antd, and make sure |
请问dayjs兼容antd2.x版本吗,这么写似乎没用 |
@JuntengMa 没有测试过 antd 2.x 版本 可以传入 preset: 'antdv3' 试试看? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
https://github.com/shen1986/antd-datapick-test
Steps to reproduce
使用 antd-dayjs-webpack-plugin 插件用 Day.js 替换 momentjs .
<DatePicker
showTime={{ format: 'HH:mm:ss' }}
format="YYYY-MM-DD HH:mm:ss"
/>
What is expected?
日历能正常显示
What is actually happening?
所有的日期都变成今天了
是不是有什么配置或者写法上有问题,请指导下
The text was updated successfully, but these errors were encountered: