* fix a bug: add one day when computing work days.
This commit is contained in:
@@ -34,7 +34,7 @@ function computeDaysDelta(date1, date2)
|
||||
{
|
||||
date1 = convertStringToDate(date1);
|
||||
date2 = convertStringToDate(date2);
|
||||
return (date2 - date1) / (1000 * 60 * 60 * 24)
|
||||
return (date2 - date1) / (1000 * 60 * 60 * 24) + 1
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user