valor-software / ngx-bootstrap

Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
https://valor-software.com/ngx-bootstrap
MIT License
5.53k stars 1.69k forks source link

Datepicker is not rendered correctly when applying locales #5965

Open alexandvvvvv opened 4 years ago

alexandvvvvv commented 4 years ago

I have succesfully added bsDatepicker to my angular project. Everything was OK until I tried to localize it. I tried to use the approach from the docs (modalService.use(...); pop.hise(); pop.show(); ). I see that week day names change as expected but instead of dates, month and year I observe a following:

image

This problem I faced in my custom component. However, when I added the code from docs to app.component.ts and app.component.html without any changes the result was the same.

ngx-bootstrap: 6.1.0

Angular: 10.2.0

Bootstrap: 4.3.1

I can provide any additional info.

valorkin commented 4 years ago

please provide something so we could reproduce

clemensul commented 3 years ago

@alexandvvvvv Did you resolve the issue on your own? I am stuck with the same behaviour. Thanks!

apotapcukv commented 3 years ago

Hi, @alexandvvvvv! We can’t reproduce the issue now in the latest version to check if it has been fixed or not. If you still can, please do it at https://stackblitz.com/edit/angular-ivy-de1elj?file=tsconfig.json/ and share with us. Please don’t hesitate to let us know if you face further issues. Thank you for using our library).