Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event showing as all day event but in actual it is not all day event #2687

Open
4 of 5 tasks
anjalikalsariya opened this issue Nov 27, 2024 · 5 comments
Open
4 of 5 tasks
Labels

Comments

@anjalikalsariya
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/priceless-morning-9jzt7q?file=%2Fevents.js%3A6%2C31

Bug description

When event have same start and end date with time 12:00 AM. It is showing as all day event but it should be normal event. That Same event showing as normal event in google and outlook calendar.

Example ,
Start date is 27 Nov 12:00AM
End date is 27 Nov 12:00AM

React big calendar that I am usinng
image

Outlook calendar
image

Expected Behavior

I think it should behave same like outlook and google calendar

Start date is 27 Nov 12:00AM
End date is 27 Nov 12:00AM

Actual Behavior

Event showing as all day event but in actual it is not all day event

For example of this type of dates

react-big-calendar version

^1.13.1

React version

18.3.1

Platform/Target and Browser Versions

Mac OS - Chrome

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@anjalininjadev
Copy link

Any one can help me please ?

@dBianchii
Copy link

+1 for me. Would like to see this fixed

@wcbianchi
Copy link

Please, it will help a lot.

@nickcarnival
Copy link

nickcarnival commented Dec 23, 2024

@anjalikalsariya

Have you all tried the allDayAccessor ?

This allows you to define when an event is or is not an all day event

@anjalikalsariya
Copy link
Author

@nickcarnival No I didn't try that before. I will try and let you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants