smalot / bootstrap-datetimepicker

Both Date and Time picker widget based on twitter bootstrap (supports Bootstrap v2 and v3)
http://www.malot.fr/bootstrap-datetimepicker/
Apache License 2.0
3.49k stars 1.65k forks source link

current seconds choose error #641

Open zhangzhaoyu opened 7 years ago

zhangzhaoyu commented 7 years ago

Hi, thanks for your hard work. When I use this plugin to get the current date time with seconds, just use data-date-format = yyyy-mm-dd hh:ii:ss , I can not get the right second of my computer time.

Can you just tell me why? does it related to the timezone ? Or I need to configure something for it ?