-
Notifications
You must be signed in to change notification settings - Fork 31
Description
I'm not sure if this is a bug or a feature request but I am having trouble formatting a datetime input.
Is your feature request related to a problem? Please describe.
Basically I need the time part of a datetime formatted in 24 hour format, and not AM/PM. I have updated the dateFormat parameter to include my desired format but the input shows the date formatted with that plus also the time repeated using the AM/PM format afterwards. This sandbox illustrates the problem, https://codesandbox.io/s/l4oq8z505q
Describe the solution you'd like
I think if the date format includes a time element then the time should not be displayed again. Either that or there needs to be separate timeFormat prop for the time picker. Likewise really there should probably be a calendarFormat or monthFormat prop for the calendar component since the default of 2019.03 is a strange and rarely used format in the UK and probably elsewhere. Neither the time or month formats appear to be
affected by changing the locale.