Haixing-Hu / vue-datetime-picker

A Vue.js component implementing the datetime picker control using the Eonasdan's bootstrap datetime picker plugin.
http://haixing-hu.github.io/vue-datetime-picker/
MIT License
341 stars 77 forks source link

选择好时间后再次点击选择时间按钮,选择的时间将会减少8小时。 #4

Open ScienJus opened 8 years ago

ScienJus commented 8 years ago

Demo中的A default datetime picker和Start Datetime都会出现这种情况,但是A datetime picker with customized datetime format却不会出现,而且正好减少8小时应该是跟时区有关?

Haixing-Hu commented 8 years ago

确实有这个bug,应该是UTC时间的表示问题。有空来修复。

Haixing-Hu commented 8 years ago

It seems that the bug comes from the boostrap-datetime-picker component.

reverland commented 8 years ago

Its wired, I check the bootstrap-datetime-picker's date() function but find everything works well......