Countdown time taks universal time instead of local time
-
Dear,
My local time is well set-up in my WordPress but the Woodmart Countdown timer is using the Universal Time instead of the Local Time.
Because of that, the timer shows 2 hours extra of validity of the sales, which is wrong. This is breaking the accuracy of my sales. See attachments.
Please fix it to use the local time instead of universal time.
Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
We using GMT timezone for that element. If you want to use WordPress timezone, add the following code snippet to the functions.php
file in your child theme
add_filter( 'woodmart_wp_timezone_element', '__return_true' );
Kind Regards
Hello,
I will use this function for the moment, but in my opinion there should be a theme setting to adjust this. The theme should be adjustable to any timezone in the world 🙂
Thanks
Artem,
I added the code un functions.php but it’s still the same, no difference. I cleared cache, republished the page etc. Can you please recheck?
Thanks
for those with the same problem, as a workaround I used 2020/05/04 21:59 instead of 23:59
but this should really get a fix in the settings