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

0-11-30 00:00:00 instead of current date and time #711

Open SanjanaJain23 opened 6 years ago

SanjanaJain23 commented 6 years ago

Hi,

I am facing an issue when there is already default date as "0000-00-00 00:00:00" fetched from DB and when i try to change date it should me current date instead when am out of foucs "0-11-30 00:00:00" is been selected by default. But I get current date and time after todayBtn click but not on click of input box. Please help me resolve this.

Many Thanks, Sanjana