From 45636b0cfda7a1eeb3a440f8ff0b639192000182 Mon Sep 17 00:00:00 2001 From: jquense Date: Sun, 29 Nov 2015 14:03:59 -0500 Subject: [PATCH] [docs] fix example and change globalize version wording --- examples/Intro.md | 2 +- examples/demos/selectable.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/Intro.md b/examples/Intro.md index 63863402f..96e886473 100644 --- a/examples/Intro.md +++ b/examples/Intro.md @@ -12,7 +12,7 @@ with the calendar component. Date internationalization and localization is __hard__ and `react-big-calendar` doesn't even attempt to solve that problem. Instead you can use one of the many excellent solutions already out there, via adapters called "localizers". Big Calendar comes with two localizers for use -with [Globalize.js](https://github.com/jquery/globalize) (v0.1.0 supported) or [Moment.js](http://momentjs.com/). +with [Globalize.js](https://github.com/jquery/globalize) or [Moment.js](http://momentjs.com/). Choose the localizer that best suits your needs, or write your own. Whatever you do, you'll need to set it up before you can use the calendar (you only need to set it up once). diff --git a/examples/demos/selectable.js b/examples/demos/selectable.js index 70e635e05..dd026dbed 100644 --- a/examples/demos/selectable.js +++ b/examples/demos/selectable.js @@ -14,8 +14,6 @@ let Selectable = React.createClass({ selectable events={events} defaultView='week' - min={new Date(2015, 3, 1, 4, 0, 0)} - max={new Date(2015, 3, 1, 16, 30, 0)} defaultDate={new Date(2015, 3, 1)} onSelectEvent={event => alert(event.title)} onSelectSlot={(slotInfo) => alert(