WordPress.org

Ready to get started?Download WordPress

Forums

Game Schedules
[resolved] Time Zone (4 posts)

  1. llavone77
    Member
    Posted 1 year ago #

    I am having a problem that now that I have updated date_default_timezone_set('America/New_York') so the countdown would count correctly; all my scheduled games have moved forward in time by 3 hours. I want to use both the scheduled and the countdown what have I messed up?
    Thanks for the help

    http://wordpress.org/extend/plugins/game-schedules/

  2. Mark O'Donnell
    Member
    Plugin Author

    Posted 1 year ago #

    First, there are three places where the default time zone is set (lines 95, 505, 614 in my development version). Did you set all three to NY?

    If so, do you mean that games you have previously scheduled with the timezone set to the default (Los Angeles) moved forward three hours? If so, that's exactly what should happen. The dates and times are stored in system time (seconds since 1970) and converted to the default timezone for display. So 5pm in LA and 8pm in NY are the same to the system (and to the plugin).

    OR, do you mean you are entering NEW games and the times are messed up? I'm not seeing that on my development site.

  3. llavone77
    Member
    Posted 1 year ago #

    Thank you I misunderstood that the changes need to be made in 3 places. We are rocking and rolling now!! Thanks

  4. Mark O'Donnell
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, great. The reason you misunderstood is probably because the FAQ does not explain this very well. :-) I'll add that to the FAQ in the next release. Glad you are up and running. I'll mark this one resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic