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

  1. mcothier
    Posted 4 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!



  2. Rob La Gatta
    Modern Tribe Support
    Plugin Author

    Posted 4 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
    Posted 3 years 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

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic