• I apologize if this has been asked/covered, but a search through the docs and these forums didn’t have success.
    My calendar remains stuck on May 6th (it is now May 7th in all but the Westernmost time zones). It’s not a problem with the GMT offset. Here is my site.
    Thanks,
    Geoff

Viewing 6 replies - 1 through 6 (of 6 total)
  • Good fix, Beel, I was thinking about this problem not so long ago, myself.

    But then again, Beel, doesn’t your modifiication take away the GMT_offset totally. This way it would change over fine for you at your location, but the original way switches over when the GMT time says it’s a new day. Pick your own, I guess 🙂

    Thread Starter Anonymous

    Great. Thanks for the fix, Beel.

    2fargon, but I don’t live in Greenwich. Seriously though, I shouldn’t be attempting to answer this until I am at my computer and can test it, but from the above the calendar uses local time and then adds the gmt offset. Perhaps a more elegant approach consistent to the changeover to gmt could be?:
    if ($day == gmdate(‘j’, (time() + (get_settings(‘gmt_offset’) * 3600))) && $thismonth == gmdate(‘m’, time()+(get_settings(‘gmt_offset’) * 3600)))

    Thread Starter Anonymous

    as i came across the similar problem, i want to make sure that i change the setting in the right file. is it on line 468 of the template-funtions-general.php in the directory wp-include? (i’m asking this because there’s no mention of the file name in the above postings.) thank you.

    Just fixed this in CVS.
    Thanks for bringing it to our attention!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Calendar won’t update’ is closed to new replies.