front end date pickers working