• Chris

    (@bundfegadmin)


    Hi there,
    I have on several sites this strange behavior:
    When go to Events – Calendar View in the Dashboard, all events are shown as starting “now”. In week-view they are listed as all-day “today”, day-view as well.
    When I click an event in this view, start and end are today, when I click “edit event”, the event-editor opens and every is show correctly.

    Anything I can change? No php-errors are logged. Thanks for any help.

    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • yep, facing same issue as above. On front end its loading fine though but backend calendar view, all events come under current date, not sure whats the issue here.

    Also getting this issue

    I’ve got the same issue. I’ve traced it down to event-organiser-ajax.php file, eventorganiser_admin_calendar() function, where the query does not return fields StartDate, EndDate, StartTime, EndTime for events at all, so they all fall back to the default DateTime, which is the current one.

    • This reply was modified 3 years, 5 months ago by jiririchter.

    Alright, I’ve been able to patch it until the official update comes through.

    In the event-organiser-ajax.php file, eventorganiser_admin_calendar() function, you can replace the rows 370-371, reading:

    $event_start = new DateTime($post->StartDate.' '.$post->StartTime, $tz);
    $event_end = new DateTime($post->EndDate.' '.$post->FinishTime, $tz);

    with

    $event_start = $schedule['start'];
    $event_end = $schedule['end'];

    Hi there,

    this issue is fixed with the new version 3.12.2

    Thank you Stephen!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Calendar View broken’ is closed to new replies.