Schedule timestamp bug
-
Hi,
I’m French with GMT+1. I didn’t understand why the countdown shown bad count with 1 hour offset.
I checked in my DB and the post_meta end_time was wrong with 1 hour offset.
To fix this bug I had to comment the difference in the code.
if ( ! $timezone ) {
// Get the difference between. Difference will be minus if that time did not happen yet (such as GMT+0 and GMT+6)
//$difference = $wp_current_time – $current_time;
}It’s not a good solution but it’s work now
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Schedule timestamp bug’ is closed to new replies.