I am using react-big-calendar for an app, but when I am making first steps I've realized that there is something wrong...two days of the month repeated, currently march 2021 has saturday and sunday both with 13th
Can you give me a hint on how to fix this. All is fine except that
thx
import { Calendar, momentLocalizer } from 'react-big-calendar'
import moment from 'moment'
import 'react-big-calendar/lib/css/react-big-calendar.css'
const localizer = momentLocalizer(moment)
const event = [{
start: moment().toDate(),
end: moment().add(2, 'hours').toDate(),
title: 'Cumple'
}]
export const CalendarScreen = () => {
return (
<div>
<Calendar
events={event}
startAccessor="start"
endAccessor="end"
style={{ height: '100vh' }}
/>
</div>
)
}