End of day cutoff set, yet finished events show up in next day's [event_embed]
-
End of day cutoff set to the morning (7:30), yet events that ended before show up in next day’s [event_embed].
So, for example, an event from the 20th with an end time of 1:00AM (the 21st) still shows up in the list on the afternoon of the 21th.The embed code is the following (yes, it has custom fields thru functions.php):
[event_embed from=”‘.date(“Y-m-d”).'” to=”‘.date(“Y-m-d”, strtotime(“+1 week”)).'” nothing_found_text=”Jelenleg nincsenek közelgő események.” cache=”5″ limit=”10″]<div class=”eventrocket embedded-event post”> <h2>{title}</h2> <div class=”schedule”>{schedule}</div> <div class=”summary”>{advanced_excerpt}</div> <div class=”entry-meta”>{venue} ({city}) | {cost} </div> </div>[/event_embed]
It shows up here: http://szolnokzene.hu/ (left column)
You can check the local (server) time here by the function
date(‘Y-m-d H:i’)
:
http://szolnokzene.hu/test_.php
- The topic ‘End of day cutoff set, yet finished events show up in next day's [event_embed]’ is closed to new replies.