Hey all - anyone run into this problem? Or maybe Brent Wilson’s around to have a look?
I have Repeet setup and working (mostly) fine for my events calendar - but am having an add problem. For certain repeating events, when I list the upcoming occurrences of those events, they all display one-day ahead of their actual scheduled occurrences. So if they’re scheduled to repeat every Sunday, they are listed as every Monday.
The bizarre thing is that they display properly on my calendar view - it’s only when I’m listing the events on my detail page that they are off.
Even more bizarre - it only happens with certain events - not all, even though they repeat on the same frequency (weekly).
Example:
Calendar: http://www.mothersource.org/calendar/
Take a look at Wednesday’s repeating class “MotherWise Prenatal Yoga”. Every Wednesday.
But click for detail:
http://www.mothersource.org/calendar/event/70/
And voila - every Thursday!
However, look at Saturday’s repeating class: “Mama-Baby Yoga”. It displays correctly in both views.
http://www.mothersource.org/calendar/event/71/
I’m baffled. Both entries are entered in exactly the same manner, and the same template is displaying both, so I can’t imagine why this would be happening.
Also - any entry that’s set to “none” for its repeat interval shows an “upcoming occurrence” of the same event, the day after the event date.
This is with EE 1.6.2 and RepEEt 1.0.7.
here’s my code for the “upcoming occurrences” display:
{exp:weblog:entries weblog="calendar" show_future_entries="yes"}
<div class="entry">
<h2>{title}</h2>
{if repeat_interval == "none" || repeat_interval == ""}
<h3>Date: {entry_date format="%D, %F %j%S %Y"}</h3>
{/if}
<p><strong>Details:</strong></p>
{body}
{if repeat_interval != "none" || repeat_interval != ""}
<p><strong>Upcoming dates:</strong></p>
<ul>
{exp:repeet:list_dates from="today" to="1 year" entry_date="{entry_date format="%Y-%m-%d %H:%i"}" expiration_date="{expiration_date format="%Y-%m-%d %H:%i"}" max_list="25" interval="{repeat_interval}"}
{repeet:include_dates}{include_dates}{/repeet:include_dates}
{repeet:exclude_dates}{exclude_dates}{/repeet:exclude_dates}
{repeet:display}
<li>{repeet:start_time format="%l, %F %j%S, %Y"}</li>
{/repeet:display}
{/exp:repeet:list_dates}
</ul>
{/if}
</div>
{/exp:weblog:entries}
Help?
Derek
