Hi,
How to I properly and reliably set the timezone variable for the coming soon page?
3 replies · opened May 3, 2022
Hi,
How to I properly and reliably set the timezone variable for the coming soon page?
Hello,
This is Definitely Possible but requires minor customizations. Consider adding the following JS Code at the bottom of the Page after the js/functions.js File:
[ch_pre]
jQuery(document).ready( function($){
setTimeout(() => {
$('#countdown-ex1').countdown('option', { timezone: -7 });
}, 1000);
});
[/ch_pre]
This will definitely work fine. Simply change #countdown-ex1 Selector according to the actual selector on your Page. You can consider checking more Documentation here: http://keith-wood.name/countdown.html (Time Zone tab). Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Thank you, that worked perfectly!
Very Happy to Help! :)
Do let us know if we can help you with anything else or if you find any further issues with Canvas.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard