Created
September 3, 2015 06:27
-
-
Save pujie/2a5e7bcea57707b9729a to your computer and use it in GitHub Desktop.
override fullcalendar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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