Since upgrading to version 1.1 of the theme, the “next service” is rolling too early. I used a plugin to inspect the meta data on the post. I believe there is an issue related to timezones. Has anyone else done any testing with this feature to verify whether or not the “next service” is appearing exactly when it should?
This has been reported by several people and a fix is on the way.
Great, thanks! Here’s how I fixed it locally.
$local_date = new DateTime(null, new DateTimeZone(get_option(‘timezone_string’)));
$local_timestamp = $servicedate – $local_date->getOffset();
update_post_meta($post_id, ‘_services_unixtime’, $local_timestamp);
that was in /wp-content/plugins/uua-services/inc/metaboxes.php
Version 1.0.3 of the Services plugin was released today and fixed this issue.
I’ve updated the plugin and theme to 1.0.3. Now I’m seeing the service not roll when it should. If I put the service date 1 or 2 minutes from now, then update the service, I see that service listed on the home page. But then after 2 minutes – or even 5 minutes, I would expect the next service to become active. But I still see the old service. It seems like it’s not rolling when it’s supposed to now.
Can anyone else confirm this behavior?
I think the service remains for the rest of the day. There’s no way for it to know when your service is over.
I can’t say for sure, but according to the way the code is written, it appears to be intended to roll after the event date passes. We were going to put in the “service end time” so that it would roll at the end of the service. But it’s not working that way for me. I still haven’t been able to figure out exactly when it’s rolling. It’s not immediate, but seems to be less than 5 hours later.