How to change the title of the days of the week to full word
ehsan-kargar opened this issue · 1 comments
ehsan-kargar commented
I can't change the title of the days of the week.
for example : I want to change 'ش' to 'شنبه'
ehsan-kargar commented
Solved !
html:
<ng-persian-datepicker [uiTheme]="'default'" #calenderRef>
ts:
@ViewChild('calenderRef') private calenderRef: NgPersianDatepickerComponent;
ngAfterViewInit(): void {
this.calenderRef.weekDays = ['شنبه', 'یکشنبه', 'دوشنبه', 'سهشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه'];
}