Skip to content
Discussion options

You must be logged in to vote

Hi @srinidhikulkarni2

as outlined in the component description, the DatePicker and similar components use the Unicode LDML Date Format notation:

Supported format options are pattern-based on Unicode LDML Date Format notation.
For more information, see UTS #35: Unicode Locale Data Markup Language.

Here you can find the direct link to the format pattern table. (Which should probably the link in the description as well - I created an issue so this can be checked)

So to achieve this, you have to apply the correct pattern:

Your Format Sample Unicode Date Format
d-m-y 01-01-25 dd-MM-yy
d/m/y 01/01/25 dd/MM/yy
y-m-d 25-01-01 yy-MM-dd
y/m/d 25/01/01 yy/MM/dd
F j, Y January 1, 2025

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Lukas742
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants