Skip to content
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

ngbootstrap datepicker format display issue #3417

Closed
cyrusgiri69 opened this issue Oct 17, 2019 · 2 comments
Closed

ngbootstrap datepicker format display issue #3417

cyrusgiri69 opened this issue Oct 17, 2019 · 2 comments

Comments

@cyrusgiri69
Copy link

Hi

In NgBootstrap datepicker we have same format as well to parse it NgbDateParserFormatter but how to display the format "mm/yyyy' (month and year alone) inside the datepicker input. there is no option to display that format alone inside the datepicker.

@maxokorokov
Copy link
Member

@cyrusgiri69 check the default implementation and look at custom ISO one we have:

https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/datepicker/ngb-date-parser-formatter.ts#L43-L64

We should probably add the formatter demo though.

@cyrusgiri69
Copy link
Author

yeah @maxokorokov would be more useful if there is a demo. i'll try to resolve format with this

@maxokorokov maxokorokov added this to the 5.2.0 milestone Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants