Support localized numbers in the jQuery Calendars plugin by Keith Wood (http://keith-wood.name/calendars.html)
JavaScript
Switch branches/tags
Nothing to show
Latest commit 9e58784 Dec 13, 2011 @donaldducky donaldducky Extend calendars plugin
1) localize numbers in the calendar and input field
2) using an html5 data attribute, populate another field
3) add a disableInput option
Permalink
Failed to load latest commit information.
README.md Extend calendars plugin Dec 13, 2011
calendar-blue.gif Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
calendar-green.gif Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
calendar.gif Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
calendarsBasic.html Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
calendarsPickerBasic.html Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
flora.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
humanity.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-af.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ar-DZ.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ar.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-az.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-bg.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-bs.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ca.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-cs.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-da.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-de-CH.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-de.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-el.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-en-AU.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-en-GB.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-en-NZ.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-eo.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-es-AR.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-es-PE.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-es.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-et.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-eu.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-fa.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-fi.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-fo.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-fr-CH.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-fr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-gl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-gu.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-he.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-hr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-hu.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-hy.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-id.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-is.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-it.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ja.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ko.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-lt.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-lv.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-me-ME.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-me.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-mk.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ml.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ms.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-nl-BE.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-nl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-no.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-pl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-pt-BR.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-rm.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ro.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ru.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-sk.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-sl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-sq.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-sr-SR.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-sr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-sv.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ta.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-th.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-tr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-uk.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-ur.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-vi.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-zh-CN.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-zh-HK.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars-zh-TW.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.all.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.all.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.all.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.coptic.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.coptic.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.coptic.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.ethiopian-am.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.ethiopian.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.ethiopian.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.ethiopian.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.hebrew-he.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.hebrew.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.hebrew.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.hebrew.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.islamic-ar.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.islamic-fa.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.islamic.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.islamic.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.islamic.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.julian.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.julian.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.julian.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.lang.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.lang.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.lang.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.mayan.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.mayan.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.mayan.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.persian-fa.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.persian.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.persian.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.persian.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-af.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ar-DZ.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ar.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-az.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-bg.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-bs.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ca.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-cs.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-da.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-de-CH.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-de.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-el.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-en-AU.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-en-GB.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-en-NZ.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-eo.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-es-AR.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-es-PE.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-es.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-et.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-eu.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-fa.js Extend calendars plugin Dec 13, 2011
jquery.calendars.picker-fi.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-fo.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-fr-CH.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-fr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-gl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-gu.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-he.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-hr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-hu.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-hy.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-id.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-is.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-it.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ja.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ko.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-lt.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-lv.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-me-ME.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-me.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-mk.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ml.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ms.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-nl-BE.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-nl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-no.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-pl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-pt-BR.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-rm.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ro.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ru.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-sk.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-sl.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-sq.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-sr-SR.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-sr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-sv.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ta.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-th.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-tr.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-uk.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-ur.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-vi.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-zh-CN.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-zh-HK.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker-zh-TW.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.ext.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.ext.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.ext.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.js Extend calendars plugin Dec 13, 2011
jquery.calendars.picker.lang.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.lang.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.lang.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.picker.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.plus.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.plus.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.plus.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.taiwan-zh-TW.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.taiwan.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.taiwan.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.taiwan.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.thai-th.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.thai.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.thai.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.thai.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.validation.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.validation.min.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
jquery.calendars.validation.pack.js Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
redmond.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
smoothness.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-black-tie.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-blitzer.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-cupertino.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-dark-hive.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-dot-luv.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-eggplant.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-excite-bike.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-flick.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-hot-sneaks.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-humanity.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-le-frog.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-mint-choc.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-overcast.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-pepper-grinder.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-redmond.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-smoothness.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-south-street.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-start.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-sunny.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-swanky-purse.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-trontastic.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-ui-darkness.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-ui-lightness.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui-vader.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011
ui.calendars.picker.css Adding 1.1.4 zip from: http://keith-wood.name/calendars.html Dec 13, 2011

README.md

jQuery Localized Datepicker

For more info, see my blog post here: http://pyjamacoder.com/2011/12/12/jquery-datepicker-fully-localized

Modification to jQuery Calendars datepicker to:

  1. convert numbers to localized numbers
  2. populate a secondary field with the Gregorian value
  3. minor change to 'disable' keyboard input for the text field
  1. Converting localized numbers

Using /js/jquery.calendars/jquery.calendars.picker.js, a translateNumberFunction option can be passed in the localization file as follows:

// jquery.calendars.picker-fa.js
(function($) {
  $.calendars.picker.regional['fa'] = {
  /* other options */
  ...
  isRTL: true,
  translateNumberFunction: function(num){
    var string_value = num.toString();
    var mapping = { 
      0: '۰',
      1: '۱',
      2: '۲',
      3: '۳',
      4: '۴',
      5: '۵',
      6: '۶',
      7: '۷',
      8: '۸',
      9: '۹',
    };  

    for (x in mapping) {
      string_value = string_value.replace(new RegExp(x, 'g'), mapping[x]);
    }   

    return string_value;
  }
};

If no function is provided, no conversion will be done.

  1. Populating a secondary field

If the calendarspicker input has an attribute data-gregorian-field, the selector provided in that attribute will get the Gregorian date value inserted.

<!-- the form element that brings up the date picker and shows the localized date -->
<input class="calendarspicker" type="input" data-gregorian-field="due_date" />
<!-- the actual value that gets passed along the form post to the backend -->
<input name="due_date" type="hidden" />

This is so a 'normal' date can be easily processed in the backend from a form submission, instead of having to jump through hoops to convert between calendars and languages.

  1. Disabling keyboard input

Another optional parameter, to disable keyboard input for the input field, is provided.

$(function(){
  $('.calendarspicker').calendarsPicker({
    calendar: $.calendars.instance('persian', 'fa'),
    disableInput: true
  });
});

Original code from:

http://keith-wood.name/calendars.html

The initial commit is v 1.1.4 of the jQuery Calendars package.