primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Calendar locale binding?

Open davidgfolch opened this issue 10 years ago • 5 comments

Calendar is not changing locale then locale is changed. Initial locale is loading ok.

<p-calendar [(ngModel)]="selectedDate" [locale]="locale" showAnim="slideDown" [showIcon]="true"></p-calendar>

    this.locale=this.localizations[this.appConfig.language.toLowerCase()];  //THIS WORKS
    this.appConfig.languageObservable.subscribe((lang:string) => {
      this.locale=this.localizations[lang.toLowerCase()];  //THIS EVENT WORKS, BUT CALENDAR DONT GET UPDATED
    });

davidgfolch avatar Jul 18 '16 09:07 davidgfolch

I have the same issue. Any update on this issue?

@davidgfolch did you find any workaround for this issue?

iguissouma avatar Oct 12 '16 15:10 iguissouma

Same here! :+1:

gkallergis avatar Nov 11 '16 14:11 gkallergis

I have the same issue!

Prontsevich avatar Dec 09 '16 14:12 Prontsevich

I've got the same problem...

VictorDeBlas avatar Apr 06 '17 09:04 VictorDeBlas

Fixed in 4.0.0-RC2.

cagataycivici avatar May 27 '17 21:05 cagataycivici