For a multi-day event, the 'Day' view of the start day of the event or other intermediate days works fine. But for the last day of the event, the event block is always shown on the 'Below 01' row of the 'Day' view irrespective of the actual end-time. Actual time-stamps for the start and end date of the event are correct when viewed as a node. Also events are shown fine on the month, week and year view. Only on the 'Day' view of the last day of the event, the end-time is not read correctly and always displayed on the first row of the timeline. Please let me know if there any more information I can provide.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ddalvi’s picture

Same issue occurs with Calendar ver 7.x-3.x-dev and 7.x-3.1+1-dev.
I am using Date 7.x-2.5, Date API 7.x-2.5, Date iCal 7.x-1.1.

wochter’s picture

I have the same problem.

anou’s picture

Same problem here. The events do not show/display on the end date day display...

Djiu13’s picture

Version: 7.x-3.2 » 7.x-3.4
Category: Support request » Bug report
Issue summary: View changes

Hi,
Any update on this issue?

I have the same problem with the version 7.x-3.4 and 7.x-3.x-dev of June 2014.
It seems that there is the same kind of bug for the first day as well. The event start at the right hour but stop few hours later. It is not display until the end of the day.

Thank you.

Djiu13’s picture

Assigned: Unassigned » Djiu13
Status: Active » Needs review
FileSize
1.53 KB

I tried to do a patch (my first patch actually).

It should fix the issue.
Can you test it and tell me if it works for you.

Thx.

Djiu13’s picture

Sorry I forgot one line in my patch...

$duration = round(($event_end->format('U') - $event_start->format('U')) / 60 / $divisor);

I will change it soon.

Djiu13’s picture

Sorry for that.

This is the correct patch!

luison’s picture

still with the same bug!!. Took me several hours till I found this patch.

Works perfect!

apaderno’s picture

Version: 7.x-3.4 » 7.x-3.x-dev
Assigned: Djiu13 » Unassigned
joelpittet’s picture