Skip to content

Commit

Permalink
updated example dates
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Jun 20, 2020
1 parent 69f530a commit 19f3e53
Show file tree
Hide file tree
Showing 43 changed files with 392 additions and 392 deletions.
34 changes: 17 additions & 17 deletions examples/_jquery-connector.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,64 +80,64 @@
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
},
initialDate: '2020-05-12',
initialDate: '2020-06-12',
navLinks: true, // can click day/week names to navigate views
editable: true,
dayMaxEvents: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2020-05-01',
start: '2020-06-01',
},
{
title: 'Long Event',
start: '2020-05-07',
end: '2020-05-10'
start: '2020-06-07',
end: '2020-06-10'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2020-05-09T16:00:00'
start: '2020-06-09T16:00:00'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2020-05-16T16:00:00'
start: '2020-06-16T16:00:00'
},
{
title: 'Conference',
start: '2020-05-11',
end: '2020-05-13'
start: '2020-06-11',
end: '2020-06-13'
},
{
title: 'Meeting',
start: '2020-05-12T10:30:00',
end: '2020-05-12T12:30:00'
start: '2020-06-12T10:30:00',
end: '2020-06-12T12:30:00'
},
{
title: 'Lunch',
start: '2020-05-12T12:00:00'
start: '2020-06-12T12:00:00'
},
{
title: 'Meeting',
start: '2020-05-12T14:30:00'
start: '2020-06-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2020-05-12T17:30:00'
start: '2020-06-12T17:30:00'
},
{
title: 'Dinner',
start: '2020-05-12T20:00:00'
start: '2020-06-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2020-05-13T07:00:00'
start: '2020-06-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2020-05-28'
start: '2020-06-28'
}
]
})
Expand All @@ -151,7 +151,7 @@
})

$('#gotoDate-button').on('click', function() {
$calendar.fullCalendar('gotoDate', '2020-05-01')
$calendar.fullCalendar('gotoDate', '2020-06-01')
})
})

Expand Down
32 changes: 16 additions & 16 deletions examples/_locale-es.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
},
initialDate: '2020-05-12',
initialDate: '2020-06-12',
locale: 'es',
buttonIcons: false, // show the prev/next text
weekNumbers: true,
Expand All @@ -26,57 +26,57 @@
events: [
{
title: 'All Day Event',
start: '2020-05-01'
start: '2020-06-01'
},
{
title: 'Long Event',
start: '2020-05-07',
end: '2020-05-10'
start: '2020-06-07',
end: '2020-06-10'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2020-05-09T16:00:00'
start: '2020-06-09T16:00:00'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2020-05-16T16:00:00'
start: '2020-06-16T16:00:00'
},
{
title: 'Conference',
start: '2020-05-11',
end: '2020-05-13'
start: '2020-06-11',
end: '2020-06-13'
},
{
title: 'Meeting',
start: '2020-05-12T10:30:00',
end: '2020-05-12T12:30:00'
start: '2020-06-12T10:30:00',
end: '2020-06-12T12:30:00'
},
{
title: 'Lunch',
start: '2020-05-12T12:00:00'
start: '2020-06-12T12:00:00'
},
{
title: 'Meeting',
start: '2020-05-12T14:30:00'
start: '2020-06-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2020-05-12T17:30:00'
start: '2020-06-12T17:30:00'
},
{
title: 'Dinner',
start: '2020-05-12T20:00:00'
start: '2020-06-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2020-05-13T07:00:00'
start: '2020-06-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2020-05-28'
start: '2020-06-28'
}
]
});
Expand Down
12 changes: 6 additions & 6 deletions examples/_vertical-resource-view-basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'resourceDayGridDay',
initialDate: '2020-05-07',
initialDate: '2020-06-07',
editable: true,
selectable: true,
dayMaxEvents: true, // allow "more" link when too many events
Expand All @@ -38,11 +38,11 @@
{ id: 'd', title: 'Room D', eventColor: 'red' }
],
events: [
{ id: '1', resourceId: 'a', start: '2020-05-06', end: '2020-05-08', title: 'event 1' },
{ id: '2', resourceId: 'a', start: '2020-05-07T09:00:00', end: '2020-05-07T14:00:00', title: 'event 2' },
{ id: '3', resourceId: 'b', start: '2020-05-07T12:00:00', end: '2020-05-08T06:00:00', title: 'event 3' },
{ id: '4', resourceId: 'c', start: '2020-05-07T07:30:00', end: '2020-05-07T09:30:00', title: 'event 4' },
{ id: '5', resourceId: 'd', start: '2020-05-07T10:00:00', end: '2020-05-07T15:00:00', title: 'event 5' }
{ id: '1', resourceId: 'a', start: '2020-06-06', end: '2020-06-08', title: 'event 1' },
{ id: '2', resourceId: 'a', start: '2020-06-07T09:00:00', end: '2020-06-07T14:00:00', title: 'event 2' },
{ id: '3', resourceId: 'b', start: '2020-06-07T12:00:00', end: '2020-06-08T06:00:00', title: 'event 3' },
{ id: '4', resourceId: 'c', start: '2020-06-07T07:30:00', end: '2020-06-07T09:30:00', title: 'event 4' },
{ id: '5', resourceId: 'd', start: '2020-06-07T10:00:00', end: '2020-06-07T15:00:00', title: 'event 5' }
],

select: function(arg) {
Expand Down
28 changes: 14 additions & 14 deletions examples/background-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,58 +15,58 @@
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listMonth'
},
initialDate: '2020-05-12',
initialDate: '2020-06-12',
navLinks: true, // can click day/week names to navigate views
businessHours: true, // display business hours
editable: true,
selectable: true,
events: [
{
title: 'Business Lunch',
start: '2020-05-03T13:00:00',
start: '2020-06-03T13:00:00',
constraint: 'businessHours'
},
{
title: 'Meeting',
start: '2020-05-13T11:00:00',
start: '2020-06-13T11:00:00',
constraint: 'availableForMeeting', // defined below
color: '#257e4a'
},
{
title: 'Conference',
start: '2020-05-18',
end: '2020-05-20'
start: '2020-06-18',
end: '2020-06-20'
},
{
title: 'Party',
start: '2020-05-29T20:00:00'
start: '2020-06-29T20:00:00'
},

// areas where "Meeting" must be dropped
{
groupId: 'availableForMeeting',
start: '2020-05-11T10:00:00',
end: '2020-05-11T16:00:00',
start: '2020-06-11T10:00:00',
end: '2020-06-11T16:00:00',
display: 'background'
},
{
groupId: 'availableForMeeting',
start: '2020-05-13T10:00:00',
end: '2020-05-13T16:00:00',
start: '2020-06-13T10:00:00',
end: '2020-06-13T16:00:00',
display: 'background'
},

// red areas where no events can be dropped
{
start: '2020-05-24',
end: '2020-05-28',
start: '2020-06-24',
end: '2020-06-28',
overlap: false,
display: 'background',
color: '#ff9f89'
},
{
start: '2020-05-06',
end: '2020-05-08',
start: '2020-06-06',
end: '2020-06-08',
overlap: false,
display: 'background',
color: '#ff9f89'
Expand Down
32 changes: 16 additions & 16 deletions examples/daygrid-views.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,64 +15,64 @@
center: 'title',
right: 'dayGridMonth,dayGridWeek,dayGridDay'
},
initialDate: '2020-05-12',
initialDate: '2020-06-12',
navLinks: true, // can click day/week names to navigate views
editable: true,
dayMaxEvents: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2020-05-01'
start: '2020-06-01'
},
{
title: 'Long Event',
start: '2020-05-07',
end: '2020-05-10'
start: '2020-06-07',
end: '2020-06-10'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2020-05-09T16:00:00'
start: '2020-06-09T16:00:00'
},
{
groupId: 999,
title: 'Repeating Event',
start: '2020-05-16T16:00:00'
start: '2020-06-16T16:00:00'
},
{
title: 'Conference',
start: '2020-05-11',
end: '2020-05-13'
start: '2020-06-11',
end: '2020-06-13'
},
{
title: 'Meeting',
start: '2020-05-12T10:30:00',
end: '2020-05-12T12:30:00'
start: '2020-06-12T10:30:00',
end: '2020-06-12T12:30:00'
},
{
title: 'Lunch',
start: '2020-05-12T12:00:00'
start: '2020-06-12T12:00:00'
},
{
title: 'Meeting',
start: '2020-05-12T14:30:00'
start: '2020-06-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2020-05-12T17:30:00'
start: '2020-06-12T17:30:00'
},
{
title: 'Dinner',
start: '2020-05-12T20:00:00'
start: '2020-06-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2020-05-13T07:00:00'
start: '2020-06-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2020-05-28'
start: '2020-06-28'
}
]
});
Expand Down
12 changes: 6 additions & 6 deletions examples/external-dragging-2cals.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@

var srcCalendar = new FullCalendar.Calendar(srcCalendarEl, {
editable: true,
initialDate: '2020-05-12',
initialDate: '2020-06-12',
events: [
{
title: 'event1',
start: '2020-05-11T10:00:00',
end: '2020-05-11T16:00:00'
start: '2020-06-11T10:00:00',
end: '2020-06-11T16:00:00'
},
{
title: 'event2',
start: '2020-05-13T10:00:00',
end: '2020-05-13T16:00:00'
start: '2020-06-13T10:00:00',
end: '2020-06-13T16:00:00'
}
],
eventLeave: function(info) {
Expand All @@ -31,7 +31,7 @@
});

var destCalendar = new FullCalendar.Calendar(destCalendarEl, {
initialDate: '2020-05-12',
initialDate: '2020-06-12',
editable: true,
droppable: true, // will let it receive events!
eventReceive: function(info) {
Expand Down

0 comments on commit 19f3e53

Please sign in to comment.