[EventCalendar] ec3_get_schedule format problem
Martin Christy
martin at micrograde.com
Sun Jun 17 15:00:55 UTC 2007
Hi,
I'm trying to construct the output of ec3_get_schedule() as a list. What
doesn't make sense though is that the *$format_single parameter seems to
get called for both the date AND time of an event, so generating a list
item for each.
The code I'm using is:
ec3_get_schedule('<li>%s</li> ','<li>%1$s %3$s %2$s</li>','<h3>Event
dates:</h3><ul id="event-schedule">%s</ul>');
But you can see this problem even with the example code given *
ec3_get_schedule('%s; ','%1$s %3$s %2$s. ','[ %s] ');
This also treats date and time as separate - a semi colon appears after
both.
Not setting the parameters and using the default table cells also
creates a separate row for date and time.
Any ideas how to construct the arguments, or might this be a bug?
I'm running this with WP 2.2 and EC 3.1.1RC1
Many thanks,
Martin
More information about the EventCalendar
mailing list