fix(datepicker): properly parse EEE/EEEE formats (fixes #967)