Skip to content

Commit

Permalink
Fixed #9689 - Calendar week days are never updated use i18n API.
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Mar 11, 2021
1 parent 1b60d84 commit 5e87b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface LocaleSettings {
<th *ngIf="showWeek" class="p-datepicker-weekheader p-disabled">
<span>{{getTranslation('weekHeader')}}</span>
</th>
<th scope="col" *ngFor="let weekDay of weekDays;let begin = first; let end = last">
<th scope="col" *ngFor="let weekDay of getTranslation('dayNamesMin');let begin = first; let end = last">
<span>{{weekDay}}</span>
</th>
</tr>
Expand Down

0 comments on commit 5e87b28

Please sign in to comment.