-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISO dates loaded to the reactive forms are showing invalid date #4020
Comments
Datepicker model format is a |
It used to work with version 2.0.beta8 |
@IlyaSurmay I think this should be reopened, datepicker should work with iso strings. Otherwise I have to process every date in the output from an api. |
agreed with the above; this means we can't just materialize from json and bind with ngModel, we have to transform it. And it means that in typescript, if I expect it to be materialized as a |
What's the rational behind making the property strict to |
This should reopened. This is really weird behavior. I am using reactive forms & facing the exact same issue. Any updates on this issue? |
Bug description or feature request:
when an ISO date format is loaded to a reactive model it shows an invalid date.
Plunker/StackBlitz that reproduces the issue:
https://stackblitz.com/edit/angular-dpshux
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 2.0.3
Angular: 5.2.8
Bootstrap: 4.0
Build system: Angular CLI, System.js, webpack, starter seed:
Angular CLI 1.7.3
The text was updated successfully, but these errors were encountered: