Month and day does not work preview
See original GitHub issueDo you want to request a feature or report a bug?
Bug
What’s the current behavior?
Code:
...
import BigCalendar from 'react-big-calendar';
import moment from 'moment';
import { getEvents } from '~/services/google-calendar';
import styles from './styles';
moment.locale('pt-BR');
BigCalendar.setLocalizer(BigCalendar.momentLocalizer(moment));
require('react-big-calendar/lib/css/react-big-calendar.css');
class Contatos extends Component {
state = {
events: [],
};
componentDidMount() {
getEvents((events) => {
this.setState({ events });
});
}
render() {
const { location } = this.props;
return (
<Layout loading={false} title="Agenda" location={location}>
<BigCalendar events={this.state.events} />
</Layout>
);
}
}
...
What’s the expected behavior?
Should work normally
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
My video quick preview isn't working when… - Apple Community
Click on Apple icon on top left Menu bar, Force Quit: Preview and Quick Time Player (if they are running), and Relaunch: Finder....
Read more >Mac QuickLook Preview Not Working (How to Fix) - YouTube
Here is exactly what to do when your mac finder spacebar preview is not working. All the important information is shown in the...
Read more >For MONTHS my Preview has been been broken. Apple could ...
Try open Preview while pressing shift key. Then it wont't load last opened document (personally i found this feature annoying and have disabled ......
Read more >How to Fix Excel Dates That Won't Change Format - Contextures
In the drop down list, click on the date format that your dates are currently displayed in. In this example, the dates are...
Read more >FAQs - Preview App
Frequently Asked Questions to Preview. ... What does "2 months FREE" mean? ... Reels covers are not the same in Preview and Instagram...
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
Conseguiu resolver, @GusMartins499? Obrigado!
I’m gonna guess your events start and end dates are not
Date
objects?