Fix typo in datepicker creation.