WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Widget Dates (3 posts)

  1. mcothier
    Member
    Posted 2 years ago #

    Hi there!

    I'm having a real problem with the date showing like this in my widget:
    "March 3, 2012 10:00 am - March 3, 2012 4:00 pm"

    I thought it was not supposed to show the date twice if it was all occurring on the same day?

    Any help with fixing this would be much appreciated!

    Matt

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Hi there. at this point that's how the plugin operates at its core; are you saying you just want to disable to repeating date? If so, have you checked out this bit on date/time formatting in PHP (http://php.net/manual/en/function.date.php) to see if it'll point you in the right direction as to what needs changing?

  3. joand
    Member
    Posted 1 year ago #

    I would like this too. I don't think date functions will help. The widget code shows this:

    if( tribe_is_multiday( $post->ID ) || !$event->AllDay ) {
                	echo ' – <br/>'. tribe_get_end_date($post->ID);

    which looks to me (I am not a programmer) that it is saying if it is multiday or all day, print the end date. However for a single day (not all day) event, both start and end dates are showing in the widget output.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic