Comments (7)
I'm also encountering this too (seen in versions 0.9.7 & 0.9.8). Any suggestions very welcome :-)
from react-big-calendar.
Changing this line to the following seems to (kind of) solve the problem:
let slots = dates.diff(first, last, 'day') + 1; // The '+ 1' is new
This is pretty hacky and I'm quite sure it isn't the correct solution. I suspect it is more to do with how the last day of the week is being specified, or something in that vague region.
from react-big-calendar.
I'm having the same issue when the specified culture
's week ends on a Sunday rather than a Saturday.
E.g. with culture="fr"
:
And with culture="en"
:
Using v0.9.8
from react-big-calendar.
Actually the bug is visible on the demo pages!
http://intljusticemission.github.io/react-big-calendar/examples/index.html
from react-big-calendar.
Looks like this is trying to resolve a similar bug: SlavaKvak@a359db3
from react-big-calendar.
Hi all,
Thank you very much for taking the time to fix this issue. It is really appreciated. I confirm the bug is fixed in the month view. But, for me, it still present in the week view:
I'm using version 0.9.11
from react-big-calendar.
And now with the fix:
from react-big-calendar.
Related Issues (20)
- Pass 'accessors' prop to the 'DayColumnWrapper' component HOT 2
- Expired slack invitation link HOT 2
- Vertical scrolling of multiple days (vertical, hourly week view)? HOT 1
- When pass resizableAccessor=true, and draggableAccessor=false, than resizable is not working HOT 2
- Time Slot Issue In Week View HOT 4
- Time Slot Issue In Week View HOT 11
- Error "Super expression must either be null or a function" HOT 4
- Week view, Event showing twice HOT 8
- Clicking backgroundEvent triggers onSelectSlot HOT 6
- Events are hiding if the contents are more HOT 2
- Setting event width to half day horizontally in week view instead of full
- How does event truncation work in month view? HOT 1
- Add label to all thursdays beside events in react big calendar
- New Slack Link Required
- Click the event trigger rerender timesSlotWrapper HOT 1
- Duplicate event shows up on month view when try to re-size
- Trouble in Next js HOT 6
- date overlay the modal HOT 2
- Make ResourceID available in dayPropGetter HOT 1
- Id type are missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-big-calendar.