Date format for multiple-day events
Following my previous enquiry, I've also tried to change the date format for the events output. I've substituted
<?php echo $this->date; ?>
with
<?php echo date_format(date_create($this->date), "d F Y") ?>
This works well for single day events, outputting, for example, '25 October 2010'.
However, for multiple day events this doesn't work. I get this message displayed:
Quote:
]: Failed to parse time string (06/25/2010 - 06/27/2010) at position 11 (-): Unexpected character in /home/brtorg/public_html/templates/event_upcoming.tpl on line 325 June 2010
How can I fix this
Re: Date format for multiple-day events
..im facing the same problem right now
Re: Date format for multiple-day events
Oh or actually im not, it works for me - i'd just forget to write the echo.. :lol: