-
Notifications
You must be signed in to change notification settings - Fork 62
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
Invalid Format for Date 1400/02/29 #141
Comments
Hi, |
@fingerpich |
I have found a solution !
Template :
TypeScript :
Of course, if someone can use this solution in the directive, it will save a lot of time |
Do you still have the problem? are you using the latest version? |
I'm using version 2.4.2 . |
Today I update the package to the latest version and it still has the problem |
@Rouhollah your published version(2.2.8) is outdated. the previous version was 2.4.2 |
@m-khnarges |
Hello,
When using dp-date-picker component to choose a date with format YYYY/MM/DD, when selecting date 1400/02/29 the input format and its relevant formControl becomes invalid.
I use angular version 11.2.12 but this bug is also visible on Angular Jalali Date Picker demo.
It is good to mention that it has been tested on Google Chrome and Safari, they both showed that bug.
From date-form.component.ts:
From date-form.component.html:
Regards.
The text was updated successfully, but these errors were encountered: