-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can overwrite one of the date functions to display the output however you need it. There's some docs for the plugins where you can see how to do this. https://getdatepicker.com/6/plugins/moment.html You can either do this globally or per picker. The one you want is Also if your locale normally formats your dates that way you could try setting the locale option, e.g.: localization: {
locale: 'en-GB'
} |
Beta Was this translation helpful? Give feedback.
-
Thanks @Eonasdan I went ahead a used |
Beta Was this translation helpful? Give feedback.
You can overwrite one of the date functions to display the output however you need it. There's some docs for the plugins where you can see how to do this. https://getdatepicker.com/6/plugins/moment.html
You can either do this globally or per picker. The one you want is
dates.formatInput
Also if your locale normally formats your dates that way you could try setting the locale option, e.g.: