-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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 时区问题 #837
Comments
http://ant.design/components/date-picker/#picker-demo-locale 看看时区是否可以解决,具体是 timezoneOffset 这个配置。 |
@afc163 我看默认配置就是 timezoneOffset: 8*60 或者改为 timezoneOffset: 0。 |
的确有这个问题, |
这个 bug 大概什么时候 fix 呀? |
下周吧,这周事多,急的话可以修改 (多啦A梦也不是万能的好么 。。。) |
应该全部 字符串或直接用 GregorianCalendar 传输 Date 有问题的 |
DatePicker 里的 TimePicker 是没问题的。 |
And PR: react-component/calendar#99 |
fix: locale should be passed to timePicker #837
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. |
RangePicker 不设置默认时间时弹窗显示的当前时间是不正确的,
比如当前是2016-01-11,默认时间显示的是 2016-01-10
配置中提供的 locale={locale} 不是很明白要怎么设置。
补充说明下,onChange 获取的 date 值 和显示的 date 值也是不一致的。
The text was updated successfully, but these errors were encountered: