[Calendar] Start day of the week

1 Answer 134 Views
Calendar
Arkadii
Top achievements
Rank 1
Iron
Arkadii asked on 19 Jan 2023, 01:47 PM

In Calendar month view, can I adjust the start day of the week?

Setting Saturday as the first day of the week is an example.

https://stackblitz.com/edit/angular-vth9pa?file=src/app/app.component.ts

 

1 Answer, 1 is accepted

Sort by
1
Accepted
Hetali
Telerik team
answered on 19 Jan 2023, 04:46 PM

Hello Arkadii,

In order to set the first day of the week to Saturday in the Kendo UI Calendar, customize the default i18n service and use the firstDay method. For example:

export class MyIntlService extends CldrIntlService {
  public firstDay(localeId: string): number {
    return 6;
  }
}

In this StackBlitz example, I have set the start day of the week to Saturday in the Kendo UI Calendar.

I hope this helps.

Regards,
Hetali
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.

Arkadii
Top achievements
Rank 1
Iron
commented on 22 Jan 2023, 12:20 PM

Thanks you,  it helps me!
Tags
Calendar
Asked by
Arkadii
Top achievements
Rank 1
Iron
Answers by
Hetali
Telerik team
Share this question
or