• I’m using Wordress 2.6.1 and Events Calendar 6.4.1.

    Currently my calendar dates are lagging by one day of the week.

    September 14th shows up as a Saturday, rather than a Sunday.

    I’ve figured out how to fix this on the front end of the site, but the admin for the events calendar still showcases the incorrect day of the week.

    I’m guessing this may be related to leap year.
    Suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter clockworkbird

    (@clockworkbird)

    Update:
    I actually resolved this myself by modifying lines 62, 112, and 162 of ec_calendar.class.php.

    Previously, it had said :
    $weekday = ($weekday + 7 – $first_day) % 7;

    I simply changed it to say:
    $weekday = ($weekday + 8 – $first_day) % 7;

    It’s a hack, but it seems to be working properly.

    Try upgrading to 6.5.1 to fix that.

    I have the same problem, with events-calendar latest verion… but changing code $weekday = ($weekday + 7 – $first_day) % 7; won’t work…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Events Calendar 6.4.1 – Days of the week are incorrect’ is closed to new replies.