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

[Feature Request] date-input accept other formats #3286

Open
SergioRBJ opened this issue Jun 19, 2024 · 1 comment · May be fixed by #3304
Open

[Feature Request] date-input accept other formats #3286

SergioRBJ opened this issue Jun 19, 2024 · 1 comment · May be fixed by #3304

Comments

@SergioRBJ
Copy link

Is your feature request related to a problem? Please describe.

Currently, the DateInput component only accepts dates in the "mm/dd/yyyy" format. I would like to create a new property that accepts a string that changes this pattern, such as "dd/mm/yyyy".

Describe the solution you'd like

In DateInput component, put new property to set the date format, like:

<DateInput format={"dd/mm/yyyy"} />

Describe alternatives you've considered

  1. Input a property that accepts a string.
  2. Input a property that accepts some variants like "dd/mm/yyyy" | "mm/dd/yyyy"

Screenshots or Videos

No response

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