• Hi, I use MSTW schedules plugin to track my baseball team’s schedule. It has been working well, but recently I noticed that sometimes the game time is wrong. They are off by 7 hours, which means it’s using GMT time rather than the Pacific timezone. If I refresh the browser multiple times, sometimes the correct time will show up. However, the “Time to next game” widget always displays the correct time.

    Any ideas on how to fix that? My web site is at

    https://lakesidebbc.azurewebsites.net/schedule/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi bogeyorpar,
    Well, there could be a bug, but first:

    (a) What timezone is set in your Admin Dashboard -> Settings -> General?

    (b) Did you change the timezone AFTER you had created some games?

    Let me know.

    -Mark

    Thread Starter bogeyorpar

    (@bogeyorpar)

    The timezone has always been set to Los Angeles (Pacific). I have not changed the setting in the last two years.

    Since the issue just started to showup and it’s intermittent, I suspect the call to get local time fails sometimes and reverts to GMT time. I’m not sure how to fix that, but hey, I’m not a programmer. ??

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Okay. I sincerely doubt the time/date calls work intermittently. If they did, your server is really flakey and you would be seeing other, bigger errors.

    Hummm … The plugin should call current_time() (get the WP server’s time, not the operating system’s time, or the browser’s time) for all the countdowns. Apparently that works. SO, …

    1. Where do you see the invalid dates? The schedule tables (only)? on the sliders (only),? tickers? scoreboards? Do you ever notice incorrect dates on the back end, say in a list of games, or when editing a single game?

    2. Do you see the invalid dates only on a certain set of games? Or do they appear to bounce around games randomly?

    3. Do you see the invalid dates only for a certain date, or set of dates? Or does that also appear to be random?

    Let me know, and I will take a deeper dive.

    -Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Game time messed up (sometimes)’ is closed to new replies.