I've been using this library for a while and one thing that has been annoying me for a while is that datepickers don't seem to get properly localized.
According to buefy documentation, datepickers should use the browser locale automatically if you don't specify it.
It doesn't.
Event if I specify the locale explicitly in the datepicker component, dates are not being applied in the correct locale.
I started checking versions and I realized that nuxt-buefy is requiring buefy 0.8.20 in the package-lock.json file, not the current version which is: 0.9.2.
I've been using this library for a while and one thing that has been annoying me for a while is that datepickers don't seem to get properly localized.
According to buefy documentation, datepickers should use the browser locale automatically if you don't specify it. It doesn't. Event if I specify the locale explicitly in the datepicker component, dates are not being applied in the correct locale.
I started checking versions and I realized that nuxt-buefy is requiring buefy 0.8.20 in the package-lock.json file, not the current version which is: 0.9.2.
I solved this by installing buefy manually. But I think the buefy require from this library should be able to point to the latest version by default.
I verified this problem with a new project:
And then added a datepicker widget to the default page and it was in English, not in Spanish which is my default locale.
Then I ran:
And buefy 0.9.2 was used instead of version 0.8.20 which made the datepicker appear in Spanish by default.