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>
thanks for your quick reply i tried it but still same error, do you need the link to the page?
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 http://www.wcp.net.br/prediction-form/
Yes it is the same even in wordpress my timezone is set correctly UTC+4
the link is http://www.defimedia.info/worldcup/play-now/
I see it in the demo that my deadline is one hour short unlike the demo
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
(…)
No they are not the same they are one hour short. What should i do in this case?
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.
Ok thank you i will install the plugin again
I uninstall and install the plugin again but have same issue with the time, should i drop the table from database before reinstalling again?
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’),
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
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.
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?
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.