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

End Time not visible for events ending on next day #2318

Closed
4 of 5 tasks
sbmaggarwal opened this issue Dec 20, 2022 · 1 comment
Closed
4 of 5 tasks

End Time not visible for events ending on next day #2318

sbmaggarwal opened this issue Dec 20, 2022 · 1 comment
Labels

Comments

@sbmaggarwal
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/keen-mopsa-wb63ky?file=/src/App.js:788-930

Bug description

When events start on Day 1 and end on Day 2, with showMultiDayTimes enabled:

  • The day 1 event doesn't show the end time
  • The day 2 event doesn't show the start time for the event

Expected Behavior

The events should show the correct time even when it is spanning across days, or at least a prop where we can set what needs to be displayed.

Actual Behavior

The day 1 event doesn't show the end time, The day 2 event doesn't show the start time for the event.

react-big-calendar version

1.5.0

React version

18.1.0

Platform/Target and Browser Versions

MacOs

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
@bu6n
Copy link
Contributor

bu6n commented Dec 20, 2022

The reproduction link you provided doesn't seem to be related to the problem? Which localizer are you using?
The format can be specified with
https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/props--formats-event-time-range-end-format
and
https://jquense.github.io/react-big-calendar/examples/index.html?path=/docs/props--formats-event-time-range-start-format

I don't see a bug here.

@cutterbl cutterbl closed this as completed Jan 4, 2023
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

3 participants