I'm working on an app that's using this example:
https://stackblitz.com/angular/rynxmynlykl
What I want is to display the selected date in a different format. Instead of yyyy-mm-dd, I want mm/dd/yyyy. The placeholder is easy enough to change but I'm having trouble finding what I'm looking for in the docs (https://ng-bootstrap.github.io/#/components/datepicker/api).
The ngModel accepts an object which contains year, month, and day. Datepicker then formats it to the above format.
The closest answer I found is here but is now out of date (How to change model structure of angular powered bootstrap ngbDatepicker).
Has anyone run across this scenario before?