Support » Plugin: Game Schedules » Cannot add game time

  • Resolved platzh1rsch


    Hey Mark,

    I have problems to add a time to my games.
    I’ve seen that the format should be “hh:mm am” so I entered “02:00 pm” as a time, but it doesn’t seem to work..

    I have to add: I changed the timezone to “Europe/Zurich” and the output format for the time I set to $mstw_gs_time_format = "H:i";

    However, in my shortcode schedule table it displays the following:

    for “02:00 pm” -> “22:00”
    for “2:00 pm” -> “22:00”
    for “02:00 am” -> “10:00”
    for “2:00 am” -> “10:00”
    for “2:00” -> “10:00”
    for “02:00” -> “10:00”
    for “15:00” -> “22:00”

    So I guess somethings wrong with the date saving / converting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Just resolved it myself, aso you mentioned in the code the timezone cannot be changed atm. My mistake 🙂
    Set it back and all the times were correct!

    Plugin Author Mark O'Donnell


    Hi platzh1rsch,
    Glad you fixed the problem. The timezone can be changed, but you need to change the code in about 4 places. I’d just wait for the next release (this month) where I’ve done a lot of work to clean up the timezone issues.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot add game time’ is closed to new replies.