Results 1 to 3 of 3

Thread: Date format for multiple-day events

  1. #1
    User
    Join Date
    06-19-09.
    Posts
    106

    Default 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:
    ]: 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

  2. #2
    New user
    Join Date
    06-19-09.
    Location
    Denmark
    Posts
    29

    Default Re: Date format for multiple-day events

    ..im facing the same problem right now
    Cheers!

    Jimmy Rittenborg
    Follow me on twitter

  3. #3
    New user
    Join Date
    06-19-09.
    Location
    Denmark
    Posts
    29

    Default 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:
    Cheers!

    Jimmy Rittenborg
    Follow me on twitter

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •