Skip to content

Commit

Permalink
updated demo dates
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Oct 26, 2021
1 parent eb2b8aa commit 8235328
Show file tree
Hide file tree
Showing 18 changed files with 101 additions and 101 deletions.
16 changes: 8 additions & 8 deletions demos/background-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true, // enable draggable events
aspectRatio: 1.8,
scrollTime: '00:00', // undo default 6am scrollTime
Expand Down Expand Up @@ -65,17 +65,17 @@
events: [

// background event, associated with a resource
{ id: 'bg1', resourceId: 'b', rendering: 'background', start: '2020-05-07T01:00:00', end: '2020-05-07T04:00:00' },
{ id: 'bg1', resourceId: 'b', rendering: 'background', start: '2021-10-07T01:00:00', end: '2021-10-07T04:00:00' },

// background event, NOT associated with a resource
{ id: 'bg2', rendering: 'background', start: '2020-05-07T05:00:00', end: '2020-05-07T08:00:00' },
{ id: 'bg2', rendering: 'background', start: '2021-10-07T05:00:00', end: '2021-10-07T08:00:00' },

// normal events...
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/column-grouping.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -78,11 +78,11 @@
{ id: 'z', building: '564 Pacific', title: 'Auditorium Z', occupancy: 40 }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/columns.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -73,11 +73,11 @@
{ id: 'z', title: 'Auditorium Z', occupancy: 40 }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/dynamic-add-remove.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -85,11 +85,11 @@
{ id: 'z', title: 'Auditorium Z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/external-dragging.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
-----------------------------------------------------------------*/

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true, // enable draggable events
droppable: true, // this allows things to be dropped onto the calendar
aspectRatio: 1.8,
Expand Down Expand Up @@ -90,11 +90,11 @@
{ id: 'z', title: 'Auditorium Z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
],
drop: function(date, jsEvent, ui, resourceId) {
console.log('drop', date.format(), resourceId);
Expand Down
2 changes: 1 addition & 1 deletion demos/gcal.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true, // enable draggable events
aspectRatio: 1.8,
scrollTime: '00:00', // undo default 6am scrollTime
Expand Down
12 changes: 6 additions & 6 deletions demos/grouping.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -63,11 +63,11 @@
{ id: 'z', building: '564 Pacific', title: 'Auditorium Z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
2 changes: 1 addition & 1 deletion demos/json.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true, // enable draggable events
aspectRatio: 1.8,
scrollTime: '00:00', // undo default 6am scrollTime
Expand Down
10 changes: 5 additions & 5 deletions demos/json/events.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{ "id": "1", "resourceId": "b", "start": "2020-05-07T02:00:00", "end": "2020-05-07T07:00:00", "title": "event 1" },
{ "id": "2", "resourceId": "c", "start": "2020-05-07T05:00:00", "end": "2020-05-07T22:00:00", "title": "event 2" },
{ "id": "3", "resourceId": "d", "start": "2020-05-06", "end": "2020-05-08", "title": "event 3" },
{ "id": "4", "resourceId": "e", "start": "2020-05-07T03:00:00", "end": "2020-05-07T08:00:00", "title": "event 4" },
{ "id": "5", "resourceId": "f", "start": "2020-05-07T00:30:00", "end": "2020-05-07T02:30:00", "title": "event 5" }
{ "id": "1", "resourceId": "b", "start": "2021-10-07T02:00:00", "end": "2021-10-07T07:00:00", "title": "event 1" },
{ "id": "2", "resourceId": "c", "start": "2021-10-07T05:00:00", "end": "2021-10-07T22:00:00", "title": "event 2" },
{ "id": "3", "resourceId": "d", "start": "2021-10-06", "end": "2021-10-08", "title": "event 3" },
{ "id": "4", "resourceId": "e", "start": "2021-10-07T03:00:00", "end": "2021-10-07T08:00:00", "title": "event 4" },
{ "id": "5", "resourceId": "f", "start": "2021-10-07T00:30:00", "end": "2021-10-07T02:30:00", "title": "event 5" }
]
12 changes: 6 additions & 6 deletions demos/misc-callbacks.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -69,11 +69,11 @@
{ id: 'z', title: 'Auditorium Z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/no-overlap.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -65,11 +65,11 @@
{ id: 'z', title: 'Auditorium Z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/ordering.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -71,11 +71,11 @@
{ id: 'z', title: 'Auditorium Z', occupancy: 40 }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/rendering-hooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true, // enable draggable events
aspectRatio: 1.8,
scrollTime: '00:00', // undo default 6am scrollTime
Expand Down Expand Up @@ -69,11 +69,11 @@
{ id: 'z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
12 changes: 6 additions & 6 deletions demos/scale.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$(function() { // document ready

$('#calendar').fullCalendar({
now: '2020-05-07',
now: '2021-10-07',
editable: true,
aspectRatio: 1.8,
scrollTime: '00:00',
Expand Down Expand Up @@ -69,11 +69,11 @@
{ id: 'z', title: 'Auditorium Z' }
],
events: [
{ id: '1', resourceId: 'b', start: '2020-05-07T02:00:00', end: '2020-05-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2020-05-07T05:00:00', end: '2020-05-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2020-05-06', end: '2020-05-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2020-05-07T03:00:00', end: '2020-05-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2020-05-07T00:30:00', end: '2020-05-07T02:30:00', title: 'event 5' }
{ id: '1', resourceId: 'b', start: '2021-10-07T02:00:00', end: '2021-10-07T07:00:00', title: 'event 1' },
{ id: '2', resourceId: 'c', start: '2021-10-07T05:00:00', end: '2021-10-07T22:00:00', title: 'event 2' },
{ id: '3', resourceId: 'd', start: '2021-10-06', end: '2021-10-08', title: 'event 3' },
{ id: '4', resourceId: 'e', start: '2021-10-07T03:00:00', end: '2021-10-07T08:00:00', title: 'event 4' },
{ id: '5', resourceId: 'f', start: '2021-10-07T00:30:00', end: '2021-10-07T02:30:00', title: 'event 5' }
]
});

Expand Down
Loading

0 comments on commit 8235328

Please sign in to comment.