Better handle InputDatePicker - Correction of onChange called twice - Moving all date related functions to date-utils