Wrong year on calendar
-
Hello.
The calendar (archive) has monthly view enabled on our site we’re using this plugin but the default month displaying on the calendar is displaying december 2020 instead of january 2021. I tried to remove all events except one that takes place in january. It still shows the wrong month on the calendar.
I also enabled debug and turned off cache. The debug sais:
[19-Jan-2021 09:22:47 Europe/Stockholm] the-events-calendar/common – Log: Initierar Tribe evenemang p? Jan, 19th at 09:01:47 amBut still the wrong month is displayed. I tried to locate what provides the december month and I think it has to do with: tribe_get_month_view_date() function in month.php
It returns: 2020-12-31
I’ve upgraded to the latest version of the plugin. I’ve also got the latest version of WordPress.
I can’t provide a link at this time since it’s part of an internal network. Any idea why this happens? I’ve tried to google on the matter and some sais it has to do with cache (which I disabled) and some speaks of timezone. I would understand if it was off with a day or a few hours due to timezone settings. But in this case it’s off by a month.
Suggestions?
- The topic ‘Wrong year on calendar’ is closed to new replies.