Please remember, the issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/ng-bootstrap/ng-bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.
The user is forced to use
NgbDateStruct as his application-model for dates.
Date class, then I first need to convert
NgbDateStruct before assigning it to the date-pickers’ model.
Then, before persisting the model I need to convert back from
It could be nice that
NgbDateParserFormatter let the user to define methods to convert from user-model date implementation to ng-bootstrap/datepicker
NgbDate implementation, and then back from
NgbDate to user-model date implementation.
Link to minimally-working plunker that reproduces the issue:
You can fork a plunker from one of our demos and use it as a starting point.
Please note that we can not act on bug reports without a minimal reproduction scenario in plunker. Here is why:
Version of Angular, ng-bootstrap, and Bootstrap: