/react-big-calendar

gcal/outlook like calendar component

Primary LanguageJavaScriptMIT LicenseMIT

citrusbyte-calendar

An events calendar component built for React and made for modern browsers (read: IE10+) and uses flexbox over the classic tables-ception approach. This is a fork of intljusticemission/react-big-calendar but has built upon exisitng features such as drag and drop.

DEMO and Docs

Inspired by Full Calendar.

Use and Setup

npm install citrusbyte-calendar --save

or

yarn add citrusbyte-calendar

Include citrusbyte-calendar/lib/css/react-big-calendar.css for styles.

Run examples locally

Localization and Date Formatting

citrusbyte-calendar includes two options for handling the date formatting and culture localization, depending on your preference of DateTime libraries. You can use either the Moment.js or Globalize.js localizers.

Regardless of your choice, you must choose a localizer to use this library:

Moment.js

import BigCalendar from 'react-big-calendar';
import moment from 'moment';

BigCalendar.setLocalizer(
  BigCalendar.momentLocalizer(moment)
);

Globalize.js v0.1.1

import BigCalendar from 'react-big-calendar';
import globalize from 'globalize';

BigCalendar.setLocalizer(
  BigCalendar.globalizeLocalizer(globalize)
);

About Citrusbyte

Citrusbyte

This software is lovingly maintained and funded by Citrusbyte. At Citrusbyte, we specialize in solving difficult computer science problems for startups and the enterprise.

At Citrusbyte we believe in and support open source software.

Citrusbyte and the Citrusbyte logo are trademarks or registered trademarks of Citrusbyte, LLC.