Hello!
Just encountered an issue: When creating one event with start date and end date in two different months, where the event date formatter would not display any output.

The reason is obviously the if-statement in oa_events.module (line 205). When we comment it out, everything works out fine.

To reproduce - cerate new event with start date in february and end date in march - the formatter does not display, neither in the node nor in the views using the formatter.
As this is NOT a multidate event we need to know, if there is a real reason for this if statement.

if ($dates['start']['month'] == $dates['end']['month']) {
      // For now always use the start date. We may add multi-day event to the
      // widget at some point in the future.
      $day = $dates['start']['day'];

      $element[0] = array(
        '#markup' => theme('oa_event_date', array('month' => $dates['start']['month'], 'day' => $day)),
      );
}

Comments

mpotter’s picture

Status: Active » Fixed

Good catch. Fixed in commit 4fc7428 of oa_events.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.