You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
Currently the initial value of ngModel must either be a Date object or a ISO-8601 date (yyyy-MM-dd) formatted string. However, the typical JSON representation of dates is 2014-04-09T00:00:00.000Z. When fetching remote data, the user is forced to manually convert any such properties to Date objects before they can be used as the model.
When the initial ngModel value is a string, I think it makes sense for input[date] to handle the conversion to a Date object (and perhaps truncate the time portion).
The text was updated successfully, but these errors were encountered:
Possibly related to #757
Currently the initial value of ngModel must either be a Date object or a ISO-8601 date (yyyy-MM-dd) formatted string. However, the typical JSON representation of dates is
2014-04-09T00:00:00.000Z
. When fetching remote data, the user is forced to manually convert any such properties to Date objects before they can be used as the model.When the initial ngModel value is a string, I think it makes sense for
input[date]
to handle the conversion to a Date object (and perhaps truncate the time portion).The text was updated successfully, but these errors were encountered: