WordPress.org

Support

Support » Plugins and Hacks » Football Pool » [Resolved] Timezone problem

[Resolved] Timezone problem

  • Hello,
    I’ve just tested the plugin and I should say it’s a great one!
    But I have a problem. I wanted to test if the point system works properly and that’s why I created a game trying to predict it. I entered some random score and the message “Changes saved.” appears but it’s like it doesn’t really saved my prediction…
    Then I’ve tried to set the date of the game somewhere in the next 2-3 days and it worked fine – I could predict the games. After few more tests, I found out the problem. I am using UTC+3 in my General WP settings and that’s why all the games has to be predicted at least 3 hours before the game.
    Sorry for my English, I am applying three screens so you could understand what I mean in an easier way:
    Before I made my predictions: http://store.picbg.net/pubpic/F5/78/fe144c29eaeff578.jpg
    During the action:
    http://store.picbg.net/pubpic/61/11/e0b9444ec9496111.jpg
    And after clicking the “Save” button:
    http://store.picbg.net/pubpic/85/5D/8088581a146b855d.jpg

    This was made at 1:15 the same day. The game that is going to be played after ~9hours is saved but the one that will be played after ~1h is not… And my tests say that this is because it’s in the 3h timezone difference.

    Hope to hear from you and sorry for being that detailed

    http://wordpress.org/extend/plugins/football-pool/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AntoineH

    @antoineh

    Something you might want to check:

    • your matches are entered in UTC time? You can check this in the Matches admin.
    • your “Match time setting” setting (Pool Layout Options) is “Use WP settings”?

    If so, and it still does not work, can you send me a dump of your “pool_wp_etc.” tables? I’d like to do some testing with your test data.

    wordpressfootballpool [at] gmail [dot] com

    Yeah, the settings are OK. I even tried changing these two with different values just to check if the problem could be fixed by them but nothing happened.
    I’ve just sent you a .sql file on your mail with all of my pool_wp_ tables. Thanks for helping me and hope to hear from you again 🙂

    Plugin Author AntoineH

    @antoineh

    Line 726 in classes\class-football-pool-pool.php in plugin version 2.2.5 is:
    $rows = $matches->get_info();

    Change this line to the following:
    $rows = $matches->matches;

    New version will have an fix for this bug.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Timezone problem’ is closed to new replies.
Skip to toolbar