Skip to content

Instantly share code, notes, and snippets.

@pujie
Created September 3, 2015 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pujie/2a5e7bcea57707b9729a to your computer and use it in GitHub Desktop.
Save pujie/2a5e7bcea57707b9729a to your computer and use it in GitHub Desktop.
override fullcalendar
var options = {
theme: true,
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
timeFormat: {
agenda: 'h(:mm)t{ - h(:mm)t}',
'': 'h(:mm)t{-h(:mm)t }'
},
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é','Jue','Vie','Sáb'],
buttonText: {
today: 'hoy',
month: 'mes',
week: 'semana',
day: 'día'
}
};
$('#calendar').fullCalendar(options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment