Erroneus end date calculation
Brought to you by:
choucrouteman
It seems to me that the end date calculated in the task
form is erroneus because is always computed from the
actual date (now) and not from the maximum between the
actual date and the start date of the task.
For example if today is January the first and I
schedule a task beginning January 3th, and the task is
2 days long, the end date is January 2th, that is
before the task's start date.
I've update a function in XPWebCalendar.jp
function updateEndDate(formName, loadFactor){
...
//newEndDate = now;
newEndDate = now >= newStartDate ? now : newStartDate;
...
}
It seems good.
Regards
Jacopo Torrini
jactor@gmail.com