fix(datepicker): parse input using dateParser

Fixes #1289