Change date format to remove year and put date on one line and time on 2nd line

Home › Forums › Calendar Products › Events Calendar PRO › Change date format to remove year and put date on one line and time on 2nd line

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14317
    Lynne
    Member

    I would like to display the date and time as follows:
    Date: April 18
    Time: 4:00 to 5:00 pm

    Is there any way to accomplish this?

    #14371
    Rob
    Member

    Hi again Lynne. Have you played around with the different time/date settings under Settings -> General? Unless I’m misunderstanding the request here, date & time settings for the overall WP install should carry over to the calendar too.

    #14420
    Lynne
    Member

    This is not a WP date settings issue; I’m referring to the display on this page where it says the Start and End date:
    http://206.130.110.176/conference/event/value-chain/

    Start:
    April 18, 2012 3:45 pm

    End:
    April 18, 2012 5:15 pm

    Is it possible instead to say:
    “Date: April 18”
    “Time: 3:45 to 5:15 pm”

    Which php file should I modify to alter that display?

    #14429
    Jonah
    Participant

    Hi Lynne, you’ll want to modify /wp-content/plugins/the-events-calendar/views/single.php – first make a duplicate copy and place in an ‘events’ folder in your theme and then hack away!

    #14597
    Lynne
    Member

    It seems that the single.php file is for the display when you are viewing one event at a time. I’ve been able to alter that display, but I’m also hoping to edit that right data display for the full list view (before you click to open a single event), as in this page:
    http://206.130.110.176/conference/calendar/2012-04-18/

    Is this also in single.php or is this in another file?

    #14599
    Lynne
    Member

    I found it – list.php

    #14608
    Jonah
    Participant

    Great, let us know if you need anything else with this 🙂

    #975533
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Change date format to remove year and put date on one line and time on 2nd line’ is closed to new replies.