Troy

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: List showing expired events #1416328
    Troy
    Participant

    Hi Jamie,

    Happy New Year to you too!

    It seems like the issue is still present after creating a new event; the event still appears in the list. I have added a screenshot, the event was only set with a title, a small line of content, and Start/End dates.

    We are using the REST API to retrieve these events:

    tribe_get_events( array( ‘post_type’ => ‘tribe_events’, ‘eventDisplay’ => ‘upcoming’, ‘start_date’ => date( ‘Y-m-d H:i:s’ ), ‘end_date’ => date( ‘Y-m-d H:i:s’,strtotime(“+7 days”) )
    )
    );

    in reply to: List showing expired events #1413664
    Troy
    Participant

    Hi Jamie,

    The regular Events Calendar and Pro version have been updated to the latest version and we are still able to replicate the issue. We’ve contacted our web host and we will not able to change the server timezone.

    Manually changing the _EventStartDateUTC no longer works to remove the event, only changing the end date of the event will remove it from the list.

    Example of my issue just to clarify what we’re seeing:
    – An event is set to end at 12:00 PST (-8) with the server timezone at UTC (0)
    – With this setting, the event will stay on our list of weekly events until 20:00 PST
    – If I change the event’s end date to be 04:00 PST, the single event page will say the event passed but it will appear on our weekly events page until the proper end time.

    in reply to: List showing expired events #1406618
    Troy
    Participant

    Hi Jamie,

    In the Events general settings, timezone mode is: Use the local timezones for each event.

    The timezone works properly if visiting an individual event page, it will say the event has passed. But it will still appear in the tribe_get_events query. We have access with the database and I have been able to remove an event from the query by editing the _EventEndDateUTC meta key so the value matches the timezone.

    in reply to: List showing expired events #1406080
    Troy
    Participant

    Hi Jamie,

    I have just checked the Timezone setting in the General Settings and it is set to the correct city.

    Thanks!

    in reply to: List showing expired events #1406079
    Troy
    Participant

    This reply is private.

    in reply to: Issue with Timezones in Structured Data #1333640
    Troy
    Participant

    The file I changed was /wp-content/plugins/the-events-calendar/common/src/Tribe/Timezones.php
    On line 281 I changed:

    if ( $new_datetime && $new_datetime->setTimezone( $utc ) ) {

    to:

    if ( $new_datetime ) {

    I have tried the setting “Use the local timezones for each event” but the issue doesn’t go away.

    in reply to: Issue with Timezones in Structured Data #1333636
    Troy
    Participant

    This reply is private.

Viewing 7 posts - 1 through 7 (of 7 total)