Skip to content

Events offset by 7 hours #5

Description

I have this plugin set up on WordPress 4.9.4, with CiviCRM 4.7.31. I am using the shortcode on a page to display upcoming events. I noticed recently that on the day of an event, the event does not show in the list when there is less than 7 hours until the event start time. When I change the event start time in Civi to 7+ hours ahead of the current time, it shows up in the list. Events are showing up correctly on the CiviCRM calendar page, and I have verified that mySQL and PHP are using the system time, which is set to -07:00 (America/Los Angeles). For additional sanity, I installed CiviCRM Event List plugin and the list that this rather simple plugin produces displays events with no issue. I have poked through the civievent widget code and do not see anything obvious that would cause this issue.

Wondering if others had observed this, or if there is something obvious I am missing or otherwise some parameter to offset the event list to accommodate this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions