<<<<<<< HEAD <> document.addEventListener('DOMContentLoaded', function() { var calendarEl = document.getElementById('calendar'); let date = new Date(); let today = date.getFullYear() + '-' + String(date.getMonth() + 1).padStart(2, '0') + '-' + String(date.getDate()).padStart(2, '0') var calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['interaction', 'dayGrid'], defaultDate: today, editable: true, eventLimit: true, // allow "more" link when too many events events: [{ title: 'Campeonato Nacional Individual', start: '2022-03-31', end: '2022-04-04' }, { title: '2do Evento', start: '2022-04-09', end: '2022-04-11' }, { title: 'Copa Gatorade Delfines Sampedranos', start: '2022-04-29', end: '2022-05-02' }, { title: '3er Evento Aguas Abiertas', start: '2022-05-07', end: '2022-05-08' }, { title: 'Campeonato Mundial FINA 2022', start: '2022-05-13', end: '2022-05-30' }, { title: 'Copa El Salvador', start: '2022-05-18', end: '2022-05-22' }, { title: 'Campeonato Mundial FINA Master', start: '2022-05-31', end: '2022-06-10' }, { title: 'Copa Panam Aquatics', start: '2022-06-02', end: '2022-06-06' }, { title: 'Copa Tiburones', start: '2022-06-03', end: '2022-06-07' }, { title: 'Copa Feria Juniana', start: '2022-06-19', end: '2022-06-21' }, { title: 'CCCAN', start: '2022-06-20', end: '2022-07-04' }, { title: 'Mini Meet', start: '2022-07-08', end: '2022-07-09' }, { title: 'Panamericano Master 2022', start: '2022-07-21', end: '2022-07-29' }, { title: 'Campeonato Nacional Piscina Corta', start: '2022-08-04', end: '2022-08-08' }, { title: 'Campeonato Mundial Junior', start: '2022-08-23', end: '2022-08-29' }, { title: '4to Evento Aguas Abiertas', start: '2022-08-28', end: '2022-08-29' }, { title: 'Toma de Tiempo', start: '2022-09-09', end: '2022-09-12' }, { title: 'Toma de Tiempo', start: '2022-09-23', end: '2022-09-26' }, { title: 'II Torneo Internacional AJ Swim Team', start: '2022-11-03', end: '2022-11-07' }, { title: 'Campeonato Nacional Piscina Larga 2022', start: '2022-12-01', end: '2022-12-05' }] }); // // Revisar // < }