Closed ghost closed 5 years ago
Could you provide an example how/where this exactly happens?
This is because during the typing the model is updated and the time is probably invalid at the time. When this happens, the model is set to null. You can use base-date
to work around this.
So, it would be nice if base date defaults to current date or from ngModel
value.
We currently have no intention to change this behaviour ourselfs, but we're happy to accept merge requests.
When the time is writed, date is modified and put as: January 1st, 1970.