Calendar highlighting wrong day

Home Forums Calendar Products Community Events Calendar highlighting wrong day

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #874975
    kmcca
    Participant

    Hello!
    This is probably a simple fix, but I can’t seem to find it. The calendar live on our site seems to highlight the wrong date; for example, today it is highlighting November 11 as the current day instead of November 10 (grayed out). It seems to be set to the wrong time zone. Is there a way to change this?
    Thank you!

    #877208
    Brook
    Participant

    Howdy kmcca,

    That is no good. Good investigative work. I actually came across this just the other day. A former developer of our plugin was encountering the same problem, it turned out that one of the caching settings in his caching plugin, I think it was Total Cache, was causing the dates to migrate a day.

    It could also be a timezone issue like you mentioned, I have seen that before as well. Were this the case, it is usually because another plugin or your theme has modified the default WP time zone. This usually happens via a function like date_default_timezone_set(). When it is set to something other than the default UTC that WordPress itself sets. TO test for this, would mind following our tutorial on testing for conflicts?

    Please let me know how that goes. If you do have Total cache, does disablijng it fix things? If so, it would be worth playing around with your cachinc settings to see if disabling one aspect of the caching will cause the dates to align. If you have any other question let me know. Cheers!

    – Brook

    #880791
    kmcca
    Participant

    Hi Brook,

    Thanks so much for your help!
    I went ahead and changed the WP time zone to Los Angeles, and that seemed to work! I’ll let you know if it seems to arise again, but so far, so good.
    Thank you!

    #880843
    Brook
    Participant

    Excellent. Glad you were able to do that!

    – Brook

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Calendar highlighting wrong day’ is closed to new replies.