Skip to content
Permalink
Browse files

updated example dates

  • Loading branch information...
arshaw committed Aug 9, 2019
1 parent ae7b57d commit aa48881f86dc912e8d3dfe03feadd1417449aebf
@@ -88,64 +88,64 @@
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
},
defaultDate: '2019-06-12',
defaultDate: '2019-08-12',
navLinks: true, // can click day/week names to navigate views
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2019-06-01',
start: '2019-08-01',
},
{
title: 'Long Event',
start: '2019-06-07',
end: '2019-06-10'
start: '2019-08-07',
end: '2019-08-10'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2019-06-09T16:00:00'
start: '2019-08-09T16:00:00'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2019-06-16T16:00:00'
start: '2019-08-16T16:00:00'
},
{
title: 'Conference',
start: '2019-06-11',
end: '2019-06-13'
start: '2019-08-11',
end: '2019-08-13'
},
{
title: 'Meeting',
start: '2019-06-12T10:30:00',
end: '2019-06-12T12:30:00'
start: '2019-08-12T10:30:00',
end: '2019-08-12T12:30:00'
},
{
title: 'Lunch',
start: '2019-06-12T12:00:00'
start: '2019-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2019-06-12T14:30:00'
start: '2019-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2019-06-12T17:30:00'
start: '2019-08-12T17:30:00'
},
{
title: 'Dinner',
start: '2019-06-12T20:00:00'
start: '2019-08-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2019-06-13T07:00:00'
start: '2019-08-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2019-06-28'
start: '2019-08-28'
}
]
})
@@ -159,7 +159,7 @@
})
$('#gotoDate-button').on('click', function() {
$calendar.fullCalendar('gotoDate', '2000-01-01')
$calendar.fullCalendar('gotoDate', '2019-08-01')
})
})
@@ -24,7 +24,7 @@
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
},
defaultDate: '2019-06-12',
defaultDate: '2019-08-12',
locale: 'es',
buttonIcons: false, // show the prev/next text
weekNumbers: true,
@@ -34,57 +34,57 @@
events: [
{
title: 'All Day Event',
start: '2019-06-01'
start: '2019-08-01'
},
{
title: 'Long Event',
start: '2019-06-07',
end: '2019-06-10'
start: '2019-08-07',
end: '2019-08-10'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2019-06-09T16:00:00'
start: '2019-08-09T16:00:00'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2019-06-16T16:00:00'
start: '2019-08-16T16:00:00'
},
{
title: 'Conference',
start: '2019-06-11',
end: '2019-06-13'
start: '2019-08-11',
end: '2019-08-13'
},
{
title: 'Meeting',
start: '2019-06-12T10:30:00',
end: '2019-06-12T12:30:00'
start: '2019-08-12T10:30:00',
end: '2019-08-12T12:30:00'
},
{
title: 'Lunch',
start: '2019-06-12T12:00:00'
start: '2019-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2019-06-12T14:30:00'
start: '2019-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2019-06-12T17:30:00'
start: '2019-08-12T17:30:00'
},
{
title: 'Dinner',
start: '2019-06-12T20:00:00'
start: '2019-08-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2019-06-13T07:00:00'
start: '2019-08-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2019-06-28'
start: '2019-08-28'
}
]
});
@@ -23,57 +23,57 @@
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
},
defaultDate: '2019-06-12',
defaultDate: '2019-08-12',
navLinks: true, // can click day/week names to navigate views
businessHours: true, // display business hours
editable: true,
events: [
{
title: 'Business Lunch',
start: '2019-06-03T13:00:00',
start: '2019-08-03T13:00:00',
constraint: 'businessHours'
},
{
title: 'Meeting',
start: '2019-06-13T11:00:00',
start: '2019-08-13T11:00:00',
constraint: 'availableForMeeting', // defined below
color: '#257e4a'
},
{
title: 'Conference',
start: '2019-06-18',
end: '2019-06-20'
start: '2019-08-18',
end: '2019-08-20'
},
{
title: 'Party',
start: '2019-06-29T20:00:00'
start: '2019-08-29T20:00:00'
},
// areas where "Meeting" must be dropped
{
groupId: 'availableForMeeting',
start: '2019-06-11T10:00:00',
end: '2019-06-11T16:00:00',
start: '2019-08-11T10:00:00',
end: '2019-08-11T16:00:00',
rendering: 'background'
},
{
groupId: 'availableForMeeting',
start: '2019-06-13T10:00:00',
end: '2019-06-13T16:00:00',
start: '2019-08-13T10:00:00',
end: '2019-08-13T16:00:00',
rendering: 'background'
},
// red areas where no events can be dropped
{
start: '2019-06-24',
end: '2019-06-28',
start: '2019-08-24',
end: '2019-08-28',
overlap: false,
rendering: 'background',
color: '#ff9f89'
},
{
start: '2019-06-06',
end: '2019-06-08',
start: '2019-08-06',
end: '2019-08-08',
overlap: false,
rendering: 'background',
color: '#ff9f89'
@@ -19,64 +19,64 @@
center: 'title',
right: 'dayGridMonth,dayGridWeek,dayGridDay'
},
defaultDate: '2019-06-12',
defaultDate: '2019-08-12',
navLinks: true, // can click day/week names to navigate views
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2019-06-01'
start: '2019-08-01'
},
{
title: 'Long Event',
start: '2019-06-07',
end: '2019-06-10'
start: '2019-08-07',
end: '2019-08-10'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2019-06-09T16:00:00'
start: '2019-08-09T16:00:00'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2019-06-16T16:00:00'
start: '2019-08-16T16:00:00'
},
{
title: 'Conference',
start: '2019-06-11',
end: '2019-06-13'
start: '2019-08-11',
end: '2019-08-13'
},
{
title: 'Meeting',
start: '2019-06-12T10:30:00',
end: '2019-06-12T12:30:00'
start: '2019-08-12T10:30:00',
end: '2019-08-12T12:30:00'
},
{
title: 'Lunch',
start: '2019-06-12T12:00:00'
start: '2019-08-12T12:00:00'
},
{
title: 'Meeting',
start: '2019-06-12T14:30:00'
start: '2019-08-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2019-06-12T17:30:00'
start: '2019-08-12T17:30:00'
},
{
title: 'Dinner',
start: '2019-06-12T20:00:00'
start: '2019-08-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2019-06-13T07:00:00'
start: '2019-08-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2019-06-28'
start: '2019-08-28'
}
]
});
@@ -16,17 +16,17 @@
var srcCalendar = new FullCalendar.Calendar(srcCalendarEl, {
plugins: [ 'interaction', 'dayGrid' ],
editable: true,
defaultDate: '2019-06-12',
defaultDate: '2019-08-12',
events: [
{
title: 'event1',
start: '2019-06-11T10:00:00',
end: '2019-06-11T16:00:00'
start: '2019-08-11T10:00:00',
end: '2019-08-11T16:00:00'
},
{
title: 'event2',
start: '2019-06-13T10:00:00',
end: '2019-06-13T16:00:00'
start: '2019-08-13T10:00:00',
end: '2019-08-13T16:00:00'
}
],
eventLeave: function(info) {
@@ -36,7 +36,7 @@
var destCalendar = new FullCalendar.Calendar(destCalendarEl, {
plugins: [ 'interaction', 'dayGrid' ],
defaultDate: '2019-06-12',
defaultDate: '2019-08-12',
editable: true,
droppable: true, // will let it receive events!
eventReceive: function(info) {

0 comments on commit aa48881

Please sign in to comment.
You can’t perform that action at this time.