devextreme-reactive icon indicating copy to clipboard operation
devextreme-reactive copied to clipboard

Using 24 hour time on date picker

Open jonathanelmgren opened this issue 3 years ago • 0 comments

  • [x] I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • [ ] React Grid
  • [ ] React Chart
  • [X] React Scheduler

Description

I am using locale on Scheduler which puts me on 24 hour on appointments, but when I use AppointmentForm.DateEditor I'd like to use the 24 hour format. According to docs there is a locale props but it doesn't change the time format

<AppointmentForm.DateEditor
		value={appointmentData.startDate}
		onValueChange={onDateChange}
		readOnly={false}
		locale="sv-SE"
/>

Environment

  • devextreme-reactive: xxx
  • react: xxx
  • browser: xxx
  • bootstrap: none
  • react-bootstrap: none
  • material-ui: xxx

jonathanelmgren avatar Nov 19 '21 09:11 jonathanelmgren