Skip to content

Commit

Permalink
Fix regression on firstDayOfWeek getter
Browse files Browse the repository at this point in the history
Introduced by 9c6682c, related to primefaces#9635
  • Loading branch information
lco-dev authored Jan 13, 2022
1 parent 6695e22 commit 72371f1
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 @@ -597,7 +597,7 @@ export class Calendar implements OnInit,OnDestroy,ControlValueAccessor {
}

@Input() get firstDayOfWeek(): number {
return this._numberOfMonths;
return this._firstDayOfWeek;
}

set firstDayOfWeek(firstDayOfWeek: number) {
Expand Down

0 comments on commit 72371f1

Please sign in to comment.