fix(datepicker): fix issue where data type other than 'date' not updating ngModel