angularjs - Angular UI datepicker popup with type-in returns one date earlier than typed in protractor -
this bit complicated, i've verified both angular scenario tester , protractor, , in user interface. set twitter bootstrap 3.x (i'm using latest had 3.0.3 before) - bower boostrap install set angular ui built-in templates (i'm using angular-ui-bootstrap-bower library bower) set datepicker-popup field in angular-ui this: <label for='due_date'>due date</label> <input id='due_date' class='form-control' type='text' datepicker-options="dateoptions" datepicker-popup='yyyy-mm-dd' ng-model="task.duedate"> add button , controller method inspect variable. testing: click on date field, , type in date: 2013-01-05 hit escape or click on field close popup dialog (i.e. don't click done) submit form you'll find date 1 day behind. interestingly, if click on actual date in date picker, correct. including 'today'. if remove ui datepicker, w...