jQuery-Timepicker-Addon
jQuery-Timepicker-Addon copied to clipboard
"Today" always returns date + time, even when time is disabled
trafficstars
I have a few forms for picking a date where the time part is disabled and this works fine if a day is picked from the calendar, but when selecting today, the result has date and time; as I also use maskedInput so the field can only accept a valid date format, the today button fails to work.
I understand my particular problem could be solved by processing the maskedInput better, but it seems like there's an inconsistency in design on the today button; why should it return the time part even when it's otherwise disabled?