Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Datepicker 0.13.0 - throws date error on textbox change with Angular 1.3.5 stable #3609

@johnsonlin

Description

@johnsonlin

I tried to implement the new angular ui bootstrap with angular 1.3.5 stable.
Here's a plunker demo:
http://plnkr.co/edit/6jWsI4nk6hyjh2l6O5Pd?p=preview

when I change the year of second date, which is generated by new Date(), everything updates accordingly.

But when i change the year of first date, which is generated by new Date(1430229600000), it throws an error unless I manually select another date from the datepicker.

Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.

After selecting another date from the datepicker, it behaves like the second date with no errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions