Support » Plugin: The Events Calendar » [Plugin: The Events Calendar] Widget Dates

  • Resolved mcothier

    (@mcothier)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rob La Gatta

    (@roblagatta)

    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?

    joand

    (@joand)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: The Events Calendar] Widget Dates’ is closed to new replies.