Skip to content

Date picker format - DD.MM.YYYY #279

Answered by borisdiakur
karthickmerck asked this question in Q&A
Discussion options

You must be logged in to vote

This is currently not possible with the ld-input component, because it simply acts as a wrapper around the native input field, fully relying on its built-in features, only enhancing it visually. I guess the reason for why the native input field does not offer this feature is because it doesn't make much sense to change the format at all, since (in most cases) the user has configured her or his system and browser in a way that dates are displayed in the user's preferred format, which the browser picks up and uses for the native input field. In other words, the screenshot above shows exactly the expected behaviour.

We could offer a separate web component, if the need justifies the effort. H…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by borisdiakur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Not really an issue but more a question.
2 participants
Converted from issue

This discussion was converted from issue #267 on March 02, 2022 11:59.