| Issue 77: | Long events rendering issue | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. When an event has end time at 00:00
2. AND when an event has a duration > week
3. OR when an event has the start date < current month OR the end date >
current month
What is the expected output? What do you see instead?
The event title box has a bad width!
Please provide any additional information below.
The problem is that the processing of events with a time at 00:00 is
treated in its entirety, not the segments of weeks.
To correct this, this is what I changed:
In function normalizeEvent(event), the code :
if (!event.end || event.end <= event.start) {
event.end = addDays(cloneDate(event.start), 1);
}
replaced by :
if (!event.end) event.end = cloneDate(event.start);
Then, in function renderEvents() I have replaced the segment end clearTime :
se = clearTime((se.getHours()==0 && se.getMinutes()==0) ? se : addDays(se, 1));
by this one :
se = clearTime((se.getHours()==0 && se.getMinutes()==0 && se == ss ) ? se :
addDays(se, 1));
And the expected rendering appear ;o)
Best regards
Heirem
http://heirem.fr
Aug 30, 2009
Project Member
#1
adamrs...@gmail.com
Oct 19, 2009
hello. try again in 1.4. since 1.3, end times have been inclusive (for all-day events that is). im thinking that was your original problem. im closing out this issues, but let me know if any more problems. thanks.
Status:
Done
|
|
| ► Sign in to add a comment |