-
I configured my datetime picker to show the selected date with a specific format. However that format is not being respected. In fact I think the property "format" is not being respected at all. Here is my picker setup:
And I'm getting this date in the input field: Here is the stackblitz link with this case replicated: https://stackblitz.com/edit/tempus-dominus-v6-simple-setup-nvzuhz |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Seems the answer is in the post #2526 (comment). |
Beta Was this translation helpful? Give feedback.
-
As per the docs the format properties are only used with the customDateFormat plugin. |
Beta Was this translation helpful? Give feedback.
Seems the answer is in the post #2526 (comment).
However, if I need to do:
myPicker.dates.formatInput = date => moment(date).format('L);
So I don't understand the purpose of the format property in the localization configuration.