Skip to content

Date-only events render incorrectly in Month view #233

@daianadimitrova258

Description

@daianadimitrova258

Before asking

  • I have read the documentation thoroughly
  • I have searched existing issues and discussions for similar questions

Question Category

Event Handling

Your Question

Hi colleagues,

I’m facing an issue with the Scheduler and I’m not sure whether it’s a bug or expected behavior.
Previously, I created events with both date and time, e.g. 2025-10-11 12:00:00. Recently, after some backend changes, I now work only with dates, e.g. 2025-10-11.

Here’s the problem:
In the Week and Two Weeks views, everything looks fine — the events display on the correct dates.
In the Month view, however, the events appear one day shorter.

I tried configuring the Scheduler to work with date-only format using:

const schedulerData: SchedulerData = new SchedulerData(
  dayjs().format(DATE_FORMAT),
  DEFAULT_VIEW_TYPE,
  false,
  false,
  PLANNER_CALENDAR_CONFIG,
  { getCustomDateFunc: getCustomDate }
);

schedulerData.setDate(dayjs().format(DATE_FORMAT));

But this didn’t change the behavior.
Do you have any suggestions on how to make it work consistently with date-only events across all views?
Thanks in advance!

Environment

  • react-big-schedule version: 4.4.0
  • React version: 18.3.1
  • Browser: Safari and Chrome
  • Operating System: macOS

Additional Context

Here you can find the difference between the two views.
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions