trentrichardson/jQuery-Timepicker-Addon — pull request #490 by nicolasconnault (2012-10-22 12:34:00+00:00)
Title: Extra debug messages for date/time parsing errors

My tweak uses the datepicker.debug option as a condition for displaying helpful error messages to the firebug console in datetime parsing areas that otherwise fail silently when exceptions are caught.

When initialising the datetimepicker, simply set the debug option to true, as in the following example:
```javascript
$('#date').datetimepicker({
dateFormat: 'dd mm yy',
showSecond: false,
timeFormat: 'hh:mm tt',
addSliderAccess: true,
ampm: true,
sliderAccessArgs: { touchonly: false },
debug: true
});
```