Support » Plugin: Simple Calendar - Google Calendar Plugin » Grid view doesn’t show current month on default

  • I’ve had Simple Calendar on my site since march, and everything seemed fine. But for some reason, it doesn’t show current month (april) when I open the page (but shows march and I then have to navigate to april). Is there a fix for this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • This worked for me (reported previously):

    Go to
    /wp-content/plugins/google-calendar-events/includes/abstracts/calendar.php

    find line 660
    $start_dt = Carbon::today( $this->timezone )->startOfMonth();

    and change it to
    $start_dt = Carbon::today( $this->timezone )->startOfMonth()->addHour();

    I had to set calendar start for the grid view as of today, also I have earliest event 1 month before start date, latest event 1 year after start date. Initial view and navigation between months as expected.

    Of course the change will be lost when you update GoogleCalendarEvents.

    • This reply was modified 8 months, 3 weeks ago by palatin8.
Viewing 1 replies (of 1 total)
  • The topic ‘Grid view doesn’t show current month on default’ is closed to new replies.