Checked in patch for bug 248619
git-svn-id: svn://10.0.0.236/trunk@158650 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -496,7 +496,7 @@ function compareIgnoringTimeOfDay(dateA, dateB)
|
||||
{
|
||||
if (dateA.getFullYear() == dateB.getFullYear() &&
|
||||
dateA.getMonth() == dateB.getMonth() &&
|
||||
dateA.getDay() == dateB.getDay() ) {
|
||||
dateA.getDate() == dateB.getDate() ) {
|
||||
return 0;
|
||||
} else if (dateA < dateB) {
|
||||
return -1;
|
||||
@@ -677,6 +677,9 @@ function commandAllDay()
|
||||
} else {
|
||||
gEndDate.setDate( gEndDate.getDate() - 1 );
|
||||
}
|
||||
// update the duration
|
||||
gDuration = gEndDate.getTime() - gStartDate.getTime();
|
||||
|
||||
updateStartEndItemEnabled();
|
||||
updateOKButton();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user