I have used the spanish calender in magento
Try this codes
jQuery
jQuery(function($){
$.datepicker.regional['es'] = {
closeText: 'Cerrar',
prevText: '<Ant',
nextText: 'Sig>',
currentText: 'Hoy',
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
'Jul','Ago','Sep','Oct','Nov','Dic'],
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
weekHeader: 'Sm',
dateFormat: 'dd/mm/yy',
firstDay: 1,
isRTL: false,
yearRange:"1950:2050",
changeYear:true,
changeMonth:true,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['es']);});
In Phtml page i have added this codes
<input type="text" value="01/01/1970"class="input-text validate-age-below-18" id="datepicker"/></p> jQuery(function() {
jQuery.datepicker.setDefaults( jQuery.datepicker.regional[ "" ] );
jQuery( "#datepicker" ).datepicker( jQuery.datepicker.regional[ "es" ] );
});
Hope it will work for you too
There is a setting for the calendar. It is called hiliteToday
.
If you change in js/calendar/calendar.js
:
this.hiliteToday = true;
to
this.hiliteToday = false;
'today' will not be selected by default.
Of course it is not ok to edit the code files, but I don't know yet how you can change that setting without touching the core. There is always the option of cloning the file, modify the cloned file and include your cloned file in the design, but I'm sure there is a cleaner way.
I will post when I find one.
This should be enough to get you started.
Best Answer
Here I got the solution:
Preview:
You can use in layout processor for shipping like this
For TimePicker with date