From 2dbd922620bc5f591415f1b5e1f68698d4f20776 Mon Sep 17 00:00:00 2001 From: jquense Date: Wed, 28 Oct 2015 15:04:48 +0700 Subject: [PATCH] reset event json --- examples/events.js | 73 ++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 44 deletions(-) diff --git a/examples/events.js b/examples/events.js index 93f7e400e..105476105 100644 --- a/examples/events.js +++ b/examples/events.js @@ -1,30 +1,20 @@ -// import Chance from 'chance'; - -// let chance = new Chance(); -// let events = [] - -// for (var i = 0; i < 300; i++) { -// events.push({ -// start: chance.date({ year: 2015 }), -// }) - export default [ - // { - // "title": "All Day Event", - // "allDay": true, - // "start": new Date(2015, 3, 0), - // "end": new Date(2015, 3, 0) - // }, - // { - // "title": "Long Event", - // "start": new Date(2015, 3, 7), - // "end": new Date(2015, 3, 10), - // }, - // { - // "title": "Some Event", - // "start": new Date(2015, 3, 9, 0, 0, 0), - // "end": new Date(2015, 3, 9, 0, 0, 0), - // }, + { + "title": "All Day Event", + "allDay": true, + "start": new Date(2015, 3, 0), + "end": new Date(2015, 3, 0) + }, + { + "title": "Long Event", + "start": new Date(2015, 3, 7), + "end": new Date(2015, 3, 10), + }, + { + "title": "Some Event", + "start": new Date(2015, 3, 9, 0, 0, 0), + "end": new Date(2015, 3, 9, 0, 0, 0), + }, { "title": "Conference", "start": new Date(2015, 3, 11), @@ -33,36 +23,31 @@ export default [ { "title": "Meeting", "start": new Date(2015, 3, 12, 10, 30, 0, 0), - "end": new Date(2015, 3, 13, 12, 30, 0, 0) + "end": new Date(2015, 3, 12, 12, 30, 0, 0) }, { "title": "Lunch", "start":new Date(2015, 3, 12, 12, 0, 0, 0), - "end": new Date(2015, 3, 13, 13, 0, 0, 0) + "end": new Date(2015, 3, 12, 13, 0, 0, 0) + }, + { + "title": "Meeting", + "start":new Date(2015, 3, 12,14, 0, 0, 0), + "end": new Date(2015, 3, 12,15, 0, 0, 0) + }, + { + "title": "Happy Hour", + "start":new Date(2015, 3, 12, 17, 0, 0, 0), + "end": new Date(2015, 3, 12, 17, 30, 0, 0) }, - // { - // "title": "Meeting", - // "start":new Date(2015, 3, 12,14, 0, 0, 0), - // "end": new Date(2015, 3, 13,15, 0, 0, 0) - // }, - // { - // "title": "Happy Hour", - // "start":new Date(2015, 3, 12, 17, 0, 0, 0), - // "end": new Date(2015, 3, 13, 17, 30, 0, 0) - // }, { "title": "Dinner", "start":new Date(2015, 3, 12, 20, 0, 0, 0), - "end": new Date(2015, 3, 13, 21, 0, 0, 0) + "end": new Date(2015, 3, 12, 21, 0, 0, 0) }, { "title": "Birthday Party", "start":new Date(2015, 3, 13, 7, 0, 0), "end": new Date(2015, 3, 13, 10, 30, 0) - }, - { - "title": "Birthday Party 2", - "start":new Date(2015, 3, 13, 7, 0, 0), - "end": new Date(2015, 3, 13, 7, 0, 0) } ]