[EventCalendar] event date display

Jim Priest priest at thecrumb.com
Fri Aug 31 12:58:16 UTC 2007


I'm using Event Calendar on an upcoming PTA website.  So far it's
working great - just trying to adjust a few things...

I'm using 3.1.1.rc1.  I'm trying to modify the event date shown in
each event entry.  Currently it appears in a red box on two lines.
I've found where the date is created in template-functions.php and I
have removed the table code and just placed everything in a DIV so it
appears on one line.

But I can't figure out how to add some additional characters...

Right now it outputs something like:  September 1, 2007 6:30pm to 8:30pm

I'd like to add a dash:  September 1, 2007 - 6:30pm to 8:30pm

But am not sure where.  I've tried changing the $result lines but
haven't hit the right combo yet...

$result.=sprintf($format_range,$time_start,$time_end,__('to','ec3'));

Any help would be appreciated - great plugin!!

Thanks,
Jim



More information about the EventCalendar mailing list