ui datepicker. Closes #2223.