Date Formatting on Kendo UI React Scheduler

1 Answer 64 Views
Calendar DatePicker DateTimePicker Scheduler
John
Top achievements
Rank 1
John asked on 08 Feb 2024, 07:45 AM

 

Hi Support,

I just wondering on how to change the date format on Scheduler components (look picture below, those start and end section). At the moment my date format is coming up as month/day/year, but what i want is day/month/year.

 

This is the KendoUI React Scheduler i am using on my code. 

 

I tried to look at  your api online but still couldn't get the solutions. Please give me advice.

 

Thanks

 

John

 

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 12 Feb 2024, 07:30 AM

Hi John,

Since the Scheduler will use the current locale format for the dates, the easiest way for changing the format for the editors within it would be to use the Props Context for the DatePicker and the DateTimePicker and change their "format" property:

Using the Props Context you can even wrap the entire app and change the format for all instances of the date pickers in the application.

Let us know if further questions arise.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Calendar DatePicker DateTimePicker Scheduler
Asked by
John
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or