Reply To: Clock disappears at 5 hours ahead of countdown time

Support Forums Verde – WP Plugin Clock disappears at 5 hours ahead of countdown time Reply To: Clock disappears at 5 hours ahead of countdown time

#3990
ShoutCloud
Participant

Okay… I figured it out.

My server’s real time was actually 5 hours ahead of my wordpress time. I went into your code and made this change in order for it to work again:

/themes/theme_functions.php

//$today = date('Y-m-d h:i:s a');
$now = date('Y-m-d H:i:s a', strtotime("-5 hours"));
if (strtotime($date) > strtotime($now)){
//if (strtotime($date) > strtotime($today)){

I definitely think that you should make this a setting inside of your admin for users that wouldn’t know how to do this. I also think that you should inspect the server time and compare it to the wordpress time and automatically adjust that admin setting for your user.

Because I figured this out myself, my event was great. Please strongly consider incorporating this into your next release.

Thanks…