Events not showing up in react-big-calendar
See original GitHub issueI have a bug in my application, for me I did everything correctly, still the events won’t show up in the calendar.
import BigCalendar from 'react-big-calendar';
import 'react-big-calendar/lib/css/react-big-calendar.css';
import moment from 'moment';
import localizer from 'react-big-calendar/lib/localizers/globalize'
class ProfileLeftPanel extends React.Component {
constructor(props) {
super(props);
BigCalendar.momentLocalizer(moment);
}
render(){
const events = [
{
title: 'All Day Event very long title',
startDate: new Date(2018, 1, 1),
endDate: new Date(2018, 1, 2),
},
]
return(
<div className="panel">
<Container>
<h4>Container</h4>
<Row className="profile-left-row">
<div>
<BigCalendar
{...this.props}
events={events}
views={['month', 'agenda']}
step={60}
defaultDate={new Date(2018, 3, 1)}
/>
</div>
</Row>
</Container>
</div>
)
}
}
export default ProfileLeftPanel
The event tab is completely empty. Thanks in advance!
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Basic setup of react-big-calendar events not showing
I have the calendar displaying on the page. The pagination is working and I have no errors in my console. However none of...
Read more >Events not showing up in react-big-calendar #675 - GitHub
I have a bug in my application, for me I did everything correctly, still the events won't show up in the calendar. ......
Read more >react-big-calendar - npm
Calendar! with events. Latest version: 1.5.2, last published: 2 months ago. Start using react-big-calendar in your project by running `npm i ...
Read more >Add a Calendar to a React App with react-big-calendar
With the react-big-calendar library, we can add a calendar to a React app. ... With both examples, we should see a calendar with...
Read more >react-big-calendar onclick event - You.com | The AI Search ...
An events calendar component built for React and made for modern browsers (read: not IE) and uses flexbox over the classic tables ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just solved it by changing my date format from
Thanks anyway!
I have them set, but this still isn’t working on Iphone safari for some reason. Working fine on Android chrome.