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

Use Angular Locales data instead of custom ones #5306

Open Fredx87 opened 5 years ago

Fredx87 commented 5 years ago

Bug description or feature request:

Currently ngx-bootstrap has its own locales for formatting dates, while angular already provides them.

With the current implementation, to configure locales for both ngx-bootstrap and Angular, these are the required steps:

You have also to mantain a lot of custom locales in the repository. I think that this is an not useful duplication, there is a reason to use custom locales?

Pizzicato commented 4 years ago

Completely agree!