Skip to content

Commit

Permalink
fix(primeng/p-calendar): recalculate language for calendar in runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
volvachev authored and Egor Volvachev committed Nov 16, 2022
1 parent 6327328 commit 22e64ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor {

this.translationSubscription = this.config.translationObserver.subscribe(() => {
this.createWeekDays();
this.cd.markForCheck();
});

this.initialized = true;
Expand Down

0 comments on commit 22e64ec

Please sign in to comment.