Event Start Date not displaying if time changed

Home Forums Calendar Products Events Calendar PRO Event Start Date not displaying if time changed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23774
    Alison
    Participant

    Hi there,
    I’m the developer for a website that uses the Events Calendar Pro Plugin. It seems that I’ve run into a unique bug. Some of the start dates do not display on some of the events I created. I’ve noticed that if I change the start time to 10am, the event start date will not generate. However, if I change the start time to 9am, the event start date will display. The thing that stands out is that there is another event on the same day. If you look at the following screenshots, changing the start time of one event affects the other:

    http://www.myparkgate.com/wordpress/wp-content/themes/parkgate/assets/img/screenshot-1.png
    http://www.myparkgate.com/wordpress/wp-content/themes/parkgate/assets/img/screenshot-2.png

    Here is the code I used:
    http://www.myparkgate.com/wordpress/wp-content/themes/parkgate/assets/img/screenshot-3.png
    Any help would be appreciated. Thanks.
    -Joe

    #23775
    Alison
    Participant

    In addition, this seems to only occur when there are 2 events on the same day. For this reason, it may have something to do with the loop?

    #23998
    Barry
    Member

    Hi Joe, sorry it took so long to reply.

    Normally the date you seem to be referring to is only listed beside the first event to take place on that date, which is a common pattern with WordPress posts too.

    If you take a look at the list.php template that ships with The Events Calendar then you will see how the tribe_is_new_event_day() is used to control this – so you could definitely make a change here if you preferred the dates to show consistently.

    You might find our technical documentation and in particular this list of loop functions to be useful here:

    https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-loop-functions/

    I hope that helps!

    #977593
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Event Start Date not displaying if time changed’ is closed to new replies.