Skip some Calendar locale in build

UI Components for Vue
Post Reply
f1l0
Posts: 18
Joined: 14 Feb 2013, 09:50
Location: Austrria

23 Apr 2020, 22:30

Hi,

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

Thank you!
PrimeFaces 8 | PrimeVue 1.3.2 | Weblogic Server | NetBeans 8.1 | Mageia 7

cagatay.civici
Prime
Posts: 18264
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Apr 2020, 09:59

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.

f1l0
Posts: 18
Joined: 14 Feb 2013, 09:50
Location: Austrria

29 Apr 2020, 14:38

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
PrimeFaces 8 | PrimeVue 1.3.2 | Weblogic Server | NetBeans 8.1 | Mageia 7

cagatay.civici
Prime
Posts: 18264
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

17 May 2020, 16:34

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.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest