New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong hours (+1) #6
Comments
two possibilities: Second, check if you are using a caching plugin, as caching is a snapshot of the page at a specific time, and not created anew each time it's being requested.. |
|
Update: |
Can you provide a link to either of the examples? |
Yes of course @baden03. I created a test post with 03-11-2019 23:00:00: |
This code is correct with local time and target date in source:
On frontend time is one hour more. |
are you using a shortcode or the T(-) Countdown block? |
@baden03 I'm using a shortcode. I updated the date to 11/7/2019 23:00:00. |
@zerx please share the exact code so we can test it as well. If your WordPress timezone value is +1... this will not take into account daylight savings.. so you might want to set that to a proper PHP timezone value: |
@baden03 |
this is very strange... and the current time that is displayed under dashboard > settings > timezone is correct? |
@baden03 By the way if changed the timezone in wordpress settings, the counter doesn't change. I tired another site with under construction from theme feature function (the function has a countdown), it's works fine. |
if you set the timezone attribute, the counter will not change with WordPress... try removing the timezone attribute and then you can dial it in by changing the WP settings. You might try turning off all plugins and seeing if you can find one that affects the timezone by turning them back on one-by-one... Regardless, we'll get it figured out and resolved with you. |
I'm done with these options and their variations.
It is very interesting that the counter does not change when I changed Wp time settings. |
I found another plugin with +1 hour effect: Countdown Wpdevart The time is central europe with winter time from october last sunday in Hungary. I think it will be the source of problem. I can't think of anything else. |
Same Situation here. Neither the timezone setting in WP nor the timezone attribute in the shortcode affects the counter. Maybe the plugin (or WP) gets the time/timezone directly from the server and passes it to the counter? |
Working on resolving this issue today... stand by for an update. |
Version 2.4.6d has just been pushed to the repo and it should resolve the timezone issue. |
Issue marked as resolved. |
I tested at now.
|
Widget? There is no sidebar widget anymore. Are you referring to the Gutenberg Block? We have tested this across a number of setups and have not seen an issue, so if you are continuing to experience the wrong time settings, please verify:
|
Yes I refering to the Gutenberg Block. I installed a fresh new site with this plugin, I thought it would be the best. Now its ok. The sorthcode is works fine at now. This issue resolved. |
Very happy to hear that! Thank you for the feedback, and patience while we solved this. |
Current time: 14:51
I set the date and time to 14:59:00, and the counter value is: 01:07:59.
That's an hour more.
When you wait until the time is less than 1 hour, open the page with countdown and the seconds digit will be freeze.
The text was updated successfully, but these errors were encountered: