Fix issue with invalid time inputs Typing something other than a digit into a time input causes parseInt to return NaN, which breaks a bunch of stuff. Once the time picker is broken, it can't be fixed without refreshing the page, even if the input field is cleared and a number is added.
Fix issue with invalid time inputs
Typing something other than a digit into a time input causes parseInt to
return NaN, which breaks a bunch of stuff. Once the time picker is broken,
it can't be fixed without refreshing the page, even if the input field is
cleared and a number is added.

This patch causes NaN results to become 0, which will prevent this problem
from popping up.

chmln/flatpickr,sylvaingi/flatpickr,SchipholRedesign/flatpickr,adhoc-gti/flatpickr,SchipholRedesign/flatpickr,chmln/flatpickr,adhoc-gti/flatpickr