Forums

calendar localization problem

emmexx 10 Nov, 2017
I followed this faq to localize the calendar but there's a glitch.
The first and last day or month get an extra [ or ].
And the single quotes are displayed too for each item.

'Jan' -> ['Gen'
'Dec' c-> 'Dic']

'January' -> ['Gennaio'
'December' -> 'Dicembre']

maxx

cf v 6.0.12 joomla 3.8.2
emmexx 16 Nov, 2017
Answer

I followed this faq to localize the calendar but there's a glitch.



I solved by removing the single quotes in extra attributes:

data-days:D, L, M, M, G, V, S
data-months:[Gennaio, Febbraio, Marzo, Aprile, Maggio, Giugno, Luglio, Agosto, Settembre, Ottobre, Novembre, Dicembre]
data-monthsShort:[Gen, Feb, Mar, Apr, Mag, Giu, Lug, Ago, Set, Ott, Nov, Dic]
data-today:Oggi


The faq should be amended.

maxx
emmexx 20 Nov, 2017
Sorry, every bracket should be removed:

data-days:D, L, M, M, G, V, S
data-months:Gennaio, Febbraio, Marzo, Aprile, Maggio, Giugno, Luglio, Agosto, Settembre, Ottobre, Novembre, Dicembre
data-monthsShort:Gen, Feb, Mar, Apr, Mag, Giu, Lug, Ago, Set, Ott, Nov, Dic
data-today:Oggi


maxx
This topic is locked and no more replies can be posted.