Page 1 of 1

Skip some Calendar locale in build

Posted: 23 Apr 2020, 22:30
by f1l0
Hi,

There is a way to skip some calendar locale to reduce the app.js file size after the build?

Thank you!

Re: Skip some Calendar locale in build

Posted: 28 Apr 2020, 09:59
by cagatay.civici
Only English is built-in which is just a couple of lines, there is no other locale out of the box so no need to worry about the effect of calendar locale to your build. InputNumber also uses browser APIs for locale for formatting.

Re: Skip some Calendar locale in build

Posted: 29 Apr 2020, 14:38
by f1l0
Hi Cagatay,

thank you, because looking at the build app.js I noticed this:

Code: Select all

,weekdays:"xxxxxxxxxxx".split("_")
in a lot of different languages

Re: Skip some Calendar locale in build

Posted: 17 May 2020, 16:34
by cagatay.civici
Not sure where you are referring to, there is only English;

https://github.com/primefaces/primevue/ ... lendar.vue

Or are you referring to FullCalendar component not the Calendar.