• Anybody find a fix to this yet? This seems to be a common problem. Has he developer come back from his/her hiatus?

    Events are disappearing from the list widget about 8 hours early.

    Thought I fixed it but they’re still disappearing.

    This was my attempt at fixing it:

    On line 546 of template-tags.php change .$spEvents->date. to .$todaysDate.

    Then make a new line before the first $whereClause

    Put the following:

    $todaysDate= date(‘Y-m-d G:i:s’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter r3volution11

    (@r3volution11)

    So I edited the code to this:

    $b = time() – 58200;
    $todaysDate = date(‘Y-m-d G:i:s’,$b);
    $whereClause = ” AND d1.meta_key = ‘_EventStartDate’ AND d2.meta_key = ‘_EventEndDate’ “;
    // Is the start date in the future?
    $whereClause .= ‘ AND ( d1.meta_value > “‘.$todaysDate.'” ‘;

    Still trying to figure out what time The Events Calendar and/or WordPress thinks it is. The 58200 is seconds. Not sure how to just set it in hour increments.

    Thread Starter r3volution11

    (@r3volution11)

    That doesn’t work right either. It’s like The Events Calendar is constantly debating what the time really is.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Events Calendar] Events still disappearing from list early’ is closed to new replies.