Calendar: Day names don't update #12148
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When changing the language using
PrimeNGConfig.setTranslation()
the day names of the calendar (and month names, too) don't update accordingly.This is especially obvious when using the calendar component in inline mode.
Expected behavior
The day names (and month names, too) should update immediately when changing the language.
See attached StackBlitz reproduction.
Environment
Node v16.13.1
NPM v8.3.2
Windows 10
Reproducer
https://stackblitz.com/edit/github-k8wzoh?file=src/app/app.component.ts
Angular version
14.0.7
PrimeNG version
14.0.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.13.1
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The day names (and month names, too) should update immediately when changing the language.
The text was updated successfully, but these errors were encountered: