Files
Airframe-React/app/routes/Interface/Calendar/events.js
2019-08-15 00:54:44 +02:00

111 lines
3.3 KiB
JavaScript
Executable File

import moment from 'moment';
const currentYear = moment().year();
const currentMonth = moment().month();
export default [
{
id: 0,
title: 'All Day Event very long title',
allDay: true,
start: new Date(currentYear, currentMonth, 0),
end: new Date(currentYear, currentMonth, 1),
},
{
id: 1,
title: 'Long Event',
start: new Date(currentYear, currentMonth, 7),
end: new Date(currentYear, currentMonth, 10),
},
{
id: 2,
title: 'DTS STARTS',
start: new Date(2016, 2, 13, 0, 0, 0),
end: new Date(2016, 2, 20, 0, 0, 0),
},
{
id: 3,
title: 'DTS ENDS',
start: new Date(2016, 10, 6, 0, 0, 0),
end: new Date(2016, 10, 13, 0, 0, 0),
},
{
id: 4,
title: 'Some Event',
start: new Date(currentYear, currentMonth, 9, 0, 0, 0),
end: new Date(currentYear, currentMonth, 10, 0, 0, 0),
},
{
id: 5,
title: 'Conference',
start: new Date(currentYear, currentMonth, 11),
end: new Date(currentYear, currentMonth, 13),
desc: 'Big conference for important people',
},
{
id: 6,
title: 'Meeting',
start: new Date(currentYear, currentMonth, 12, 10, 30, 0, 0),
end: new Date(currentYear, currentMonth, 12, 12, 30, 0, 0),
desc: 'Pre-meeting meeting, to prepare for the meeting',
},
{
id: 7,
title: 'Lunch',
start: new Date(currentYear, currentMonth, 12, 12, 0, 0, 0),
end: new Date(currentYear, currentMonth, 12, 13, 0, 0, 0),
desc: 'Power lunch',
},
{
id: 8,
title: 'Meeting',
start: new Date(currentYear, currentMonth, 12, 14, 0, 0, 0),
end: new Date(currentYear, currentMonth, 12, 15, 0, 0, 0),
},
{
id: 9,
title: 'Happy Hour',
start: new Date(currentYear, currentMonth, 12, 17, 0, 0, 0),
end: new Date(currentYear, currentMonth, 12, 17, 30, 0, 0),
desc: 'Most important meal of the day',
},
{
id: 10,
title: 'Dinner',
start: new Date(currentYear, currentMonth, 12, 20, 0, 0, 0),
end: new Date(currentYear, currentMonth, 12, 21, 0, 0, 0),
},
{
id: 11,
title: 'Birthday Party',
start: new Date(currentYear, currentMonth, 13, 7, 0, 0),
end: new Date(currentYear, currentMonth, 13, 10, 30, 0),
},
{
id: 12,
title: 'Late Night Event',
start: new Date(currentYear, currentMonth, 17, 19, 30, 0),
end: new Date(currentYear, currentMonth, 18, 2, 0, 0),
},
{
id: 12.5,
title: 'Late Same Night Event',
start: new Date(currentYear, currentMonth, 17, 19, 30, 0),
end: new Date(currentYear, currentMonth, 17, 23, 30, 0),
},
{
id: 13,
title: 'Multi-day Event',
start: new Date(currentYear, currentMonth, 20, 19, 30, 0),
end: new Date(currentYear, currentMonth, 22, 2, 0, 0),
},
{
id: 14,
title: 'Today',
start: new Date(new Date().setHours(new Date().getHours() - 3)),
end: new Date(new Date().setHours(new Date().getHours() + 3)),
},
];