Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar locale binding? #618

Closed
davidgfolch opened this issue Jul 18, 2016 · 5 comments
Closed

Calendar locale binding? #618

davidgfolch opened this issue Jul 18, 2016 · 5 comments

Comments

@davidgfolch
Copy link

davidgfolch commented Jul 18, 2016

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
    });

@iguissouma
Copy link

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

@davidgfolch did you find any workaround for this issue?

@gkallergis
Copy link

Same here! 👍

@Prontsevich
Copy link

I have the same issue!

@VictorDeBlas
Copy link

I've got the same problem...

@cagataycivici
Copy link
Member

Fixed in 4.0.0-RC2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants