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

nz-date-picker/Not able to enter date (with keyboard) with custom format #5094

Closed
rockcoolt opened this issue Apr 21, 2020 · 2 comments
Closed
Assignees

Comments

@rockcoolt
Copy link

Reproduction link

https://stackblitz.com/edit/angular-2s3jch

Steps to reproduce

Try to enter a date with keyboard (date format: 21/04/2020)

What is expected?

The date you entered should be selected

What is actually happening?

Date is no selected

@rockcoolt rockcoolt changed the title nz-date-picker/Not able to change date (with keyboard) with custom format nz-date-picker/Not able to enter date (with keyboard) with custom format Apr 21, 2020
@wenqi73
Copy link
Member

wenqi73 commented Apr 21, 2020

@rockcool This feature is supported when you provide NZ_DATE_LOCALE. https://ng.ant.design/docs/i18n/en#how-to-format-a-date-using-date-fns

@rockcoolt
Copy link
Author

Thank you !

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

3 participants