[EventCalendar] Re: Get Schedule: Can dates be formatted differently?

ejm cq547 at torfree.net
Thu Aug 9 12:32:13 UTC 2007


You are right; it is not so easy. I have stared at the coding on
http://wpcal-archive.firetree.net/2007-June/002116.html but am having
difficulty understanding what the +++ ### - - - mean, let alone the
actual coding. But I'll keep staring at it and if I figure it out
I'll report back here with the layman's explanation.

E Morris

On Thu, 9 Aug 2007 09:25:29 +0200, "Dr. Peter Troxler"
<peter.troxler at gmx.net> wrote:
>it's not so easy, have a look at that
>http://wpcal-archive.firetree.net/2007-June/002116.html
>
>this is the deluxe-version to your problem, it adds extra config to  
>the EC options panel that allows to format the date as used in the  
>schedule.
>

ejm  Wed Aug 8 20:01:32 UTC 2007
http://penguin.firetree.net/pipermail/eventcalendar/2007-August/002261.html
Dr. Peter Troxler Tue Aug 7 07:06:13 UTC 2007:
http://penguin.firetree.net/pipermail/eventcalendar/2007-August/002246.html

>>> 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
>>





More information about the EventCalendar mailing list