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

Few date formats are not supporting well #66

Open
GuptSmita opened this issue Dec 24, 2024 · 0 comments
Open

Few date formats are not supporting well #66

GuptSmita opened this issue Dec 24, 2024 · 0 comments

Comments

@GuptSmita
Copy link

GuptSmita commented Dec 24, 2024

Hello Bryan,
Hope you are doing well.
I am working on implemeting few other date formats in accessible date picker. I have found out that few are not supporting well with library. Like, dd-mm-yyyy, yyyy-mm-dd, yyyy/mm/dd.
While i am still investigating for the others, For dd-mm-yyyy, i think some changes needs to be made in beforeRender function, so that line 986 would be dateParts = dateValue.split("/");
line 998 would be (config.inputDateFormat === "DD/MM/YYYY" || config.inputDateFormat === "DD-MM-YYYY") &&
line 1006 would be (config.inputDateFormat === "MM/DD/YYYY" || config.inputDateFormat === "MM-DD-YYYY") &&

Let me know please your input into this whenever you have some time.
Happy Holidays !!

Thanks,
Smita

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant