jQuery-Timepicker-Addon icon indicating copy to clipboard operation
jQuery-Timepicker-Addon copied to clipboard

"Today" always returns date + time, even when time is disabled

Open AleFons opened this issue 8 years ago • 0 comments
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?

AleFons avatar Oct 20 '17 11:10 AleFons