• Hi Joe,

    I started trying out My Calendar a couple of months ago and noted the same problem a couple of others had reported, where the calendar displays the correct days for the current month, but the name of the month above the calendar appears as the previous months name, e.g. the days shown on the calendar are correct for February 2020, but the month name displayed above the calendar is January 2020.

    In addition to this current day was showing 17 February, when the actual date is 16 February.

    Today I found a solution that may help resolve this problem. I looked at the settings for the website and note that timezone was set to Adelaide. I changed this to Darwin (also on Central Australian time minus the date light savings), and noted that the calendar changed to the correct day of the month, in this case 16 February, however the month name above the calendar remained as January 2020.

    I then changed the timezone to UTC +10:30 (which is the same as Adelaide with day light savings) and now the calendar shows the right date, 16 February, and also the correct month name above the calendar, February 2020.

    This might help others, and may also point to a way the plug in could be adjusted to be able to respond to different timezone names.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    That’s weird…timezone differential is a reasonable assumption for a difference in displayed dates, but where I lose it is that it’s creating a differential that’s greater than 24 hours – I haven’t been able to figure out how the timezone difference can trigger a date display that’s more than two weeks different!

    Plugin Author Joe Dolson

    (@joedolson)

    Can you try installing the beta of 3.2.0 to see if it resolves this?

    https://github.com/joedolson/my-calendar/releases/tag/v3.2.0-beta

    Thread Starter estiban

    (@estiban)

    Hi Joe,

    Thanks for your replies.

    I downloaded the zip file from github and tried installing via the plug-ins section of the WordPress dashboard, Add plugins > Upload plugin, but installation failed.

    Unpacking the package…

    Installing the plugin…

    The package could not be installed. No valid plugins were found.

    Plugin installation failed.

    Will try again soon and get back to you.

    Plugin Author Joe Dolson

    (@joedolson)

    The zip file from github isn’t directly installable; it’s not a plug-in zip, it’s the whole repository. You’d need to extract the zip file, then upload the contents of the ‘src’ directory into the ‘my-calendar’ directory in your plugins folder.

    Thread Starter estiban

    (@estiban)

    I removed the contents of the ‘my-calendar’ directory in the plugins folder and uploaded the the contents of the ‘src’ directory.

    With timezone still set to UTC +10:30 the first thing I noticed was that any event that was set to “all day” was now duplicated onto the day it was scheduled and also the next day, and instead of saying “all day” it now had a time. Other than that everything was the same except for colours. But when I changed the timezone to Adelaide things got very unusual with half the month completely disappearing and the times getting messed up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrong month displayed (possible solution)’ is closed to new replies.