fix(datepicker): remove unneeded date creation

Closes #1595