Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author landoweb

    (@landoweb)

    Go to Admin >> World Cup >> Overview and uncheck the option “Convert kickoff times to local timezone. If unchecked kickoff times are displayed as match local time”

    — or —

    Use the following script in your prediction page to allow a user to toggle between BRST and local time:

    <div class=”tzcContainer”> <p id=”tzLocal” style=”display:none”>Match times are currently set to match local time, please click here to convert to your time zone.</p> <p id=”tzClient”>Match times are currently set to your timezone, please click here to revert to local time.</p> </div>

    Thread Starter yasin84

    (@yasin84)

    thanks for your quick reply i tried it but still same error, do you need the link to the page?

    Plugin Author landoweb

    (@landoweb)

    Yes What is the link?

    The time displayed on your site is the same as the demo of the plugin?

    To see the demo, go to https://www.wcp.net.br/prediction-form/

    Thread Starter yasin84

    (@yasin84)

    Yes it is the same even in wordpress my timezone is set correctly UTC+4

    the link is https://www.defimedia.info/worldcup/play-now/

    Thread Starter yasin84

    (@yasin84)

    I see it in the demo that my deadline is one hour short unlike the demo

    Plugin Author landoweb

    (@landoweb)

    Go to Admin >> World Cup >> Team and Matches >> Matches and confirm if the time of matches is:

    2014-06-12 20:00:00 Brazil 0 – 0 Croatia
    2014-06-13 16:00:00 Mexico 0 – 0 Cameroon
    2014-06-17 19:00:00 Brazil 0 – 0 Mexico

    (…)

    Thread Starter yasin84

    (@yasin84)

    No they are not the same they are one hour short. What should i do in this case?

    Plugin Author landoweb

    (@landoweb)

    You probably downloaded the 1.5 version of the plugin then, because since version 1.6 have been fixed schedules. You have two options: uninstall the plugin, download the new version and install it again, importing the data correctly.

    Or make the correction manually in each game by clicking on the same ID and adding one hour on it.

    Thread Starter yasin84

    (@yasin84)

    Ok thank you i will install the plugin again

    Thread Starter yasin84

    (@yasin84)

    I uninstall and install the plugin again but have same issue with the time, should i drop the table from database before reinstalling again?

    Plugin Author landoweb

    (@landoweb)

    You need to delete the plugin and download it again. Theoretically when you delete it should be excluded the tables in your database. But, I recommend that you access the database after deleting to confirm if they have been deleted successfully.

    Also, check the file admin/wcp-overview.class to see if the schedule in the function import is correct:

    (1, 1, ‘2014-06-12 20:00:00’, 6, 12, 0, 0, 0, 0, 12, 0, 0, 1, 0, ‘2014-01-24 19:49:12’),

    Thread Starter yasin84

    (@yasin84)

    hello i just notice something even on your demo the first match is schedule at Sao Paulo – 13/06/2014 00:00

    But infact it should be 12/06/2014 00:00

    Plugin Author landoweb

    (@landoweb)

    In my demo schedules are correct. Are displayed according to the time of the browser (in my case, I view the match starting on 12/06 to 17 hours).

    Since that time the administrative panel is correct in UTC, ie 12/06 to 20 hours, theoretically be displayed properly on your site.

    Thread Starter yasin84

    (@yasin84)

    or is it that in wordpress when we reach 12/06/2014 00:00 it takes it as 13/06/2014 since we already are on the next day?

    Plugin Author landoweb

    (@landoweb)

    Yes, if your time zone is UTC +4, the opening match of the World Cup will be played at 0 pm on 13/06 really.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Wrong deadline’ is closed to new replies.