DatePicker start week with monday

1 Answer 421 Views
DatePicker
n/a
Top achievements
Rank 1
Iron
n/a asked on 22 Sep 2022, 09:51 AM | edited on 22 Sep 2022, 09:51 AM

Hello,

 

ist it possibel to set up the DatePicker so that the week starts wit MONDAY and not Sunday?

Thank you, Matjaz Reberc

1 Answer, 1 is accepted

Sort by
0
Kiril
Telerik team
answered on 23 Sep 2022, 06:10 AM

Hi Matjaz,

The week-first-day variable is controlled by the currently loaded `internationalization` context with the default being `en` leading to showing `Sunday` as the first day of the week.

The week-first-day will dynamically update if different context is loaded. For example, if `en-GB` localization is loaded, the first day of the week would be `Monday`. Please check out the following example demonstrating how to load Internationalization context:

https://stackblitz.com/edit/react-ugbidg?file=app/main.tsx

Please let me know if this helps!

Regards,
Kiril
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

n/a
Top achievements
Rank 1
Iron
commented on 04 Oct 2022, 09:38 AM

Hi Kril,

 

yes, it works.

 

Thank you, Matjaz

Tags
DatePicker
Asked by
n/a
Top achievements
Rank 1
Iron
Answers by
Kiril
Telerik team
Share this question
or