Skip to content

Few date formats are not supporting well #66

@GuptSmita

Description

@GuptSmita

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions