[EventCalendar] Re: Get Schedule: Can dates be formatted
differently?
Dr. Peter Troxler
peter.troxler at gmx.net
Tue Aug 7 07:06:13 UTC 2007
ec3_get_events() has a date parameter which takes the usual php
arguments
http://wpcal.firetree.net/template-functions/ec3_get_events/
On 6-aug-2007, at 15:34, ejm wrote:
> I thought the answer for this might be this in template-functions.php
> $time_format=get_settings('time_format');
>
> and change it to:
>
> $time_format=date('D, j M Y');
>
> but alas no.
>
> The date format I have set for Wordpress is: l, j F, Y but I would
> like it to be D, j M Y for the event calendar postings.
>
> I've searched as best I can through wpcal.firetree.net/faq/ and
> wpcal.firetree.net/template-functions/ec3_get_schedule/ as well as
> googling.
>
> I thought that this post perhaps had the answer
> http://wpcal-archive.firetree.net/2007-June/002116.html
> But I'm afraid I do not understand it at all. I only know enough about
> php coding to get me in trouble. But couldn't there be some sort of
> way to get ec3_get_schedule to use the $time_format that is being used
> by ec3_get_events()?
>
>
> -E Morris
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar
mailing list