mugifly / jquery-simple-datetimepicker

Date & time picker for jQuery, It's simple & clean.
http://mugifly.github.com/jquery-simple-datetimepicker
Other
260 stars 182 forks source link

Issue @ option.current - Setting the custom date and time as default #106

Closed nakkeeran closed 10 years ago

nakkeeran commented 10 years ago

Hi,

In parseDate function validating the matched part of date else if(f == 'MM' || f == 'M'){ day = parseInt(d) - 1; is_successful = true; }

It should be,

else if(f == 'MM' || f == 'M'){ month = parseInt(d) - 1; is_successful = true; }

Thanks, Nike

michelts commented 10 years ago

I fall in the same problem...

mugifly commented 10 years ago

Thank you for your report :)