mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
Fix error in countDays() function
This commit is contained in:
parent
b16231a599
commit
3d8ef6cc89
@ -561,7 +561,7 @@ int Profile::countDays(MachineType mt, QDate start, QDate end)
|
|||||||
if ((mt==MT_UNKNOWN) || (day->machine->GetType()==mt)) days++;
|
if ((mt==MT_UNKNOWN) || (day->machine->GetType()==mt)) days++;
|
||||||
}
|
}
|
||||||
date=date.addDays(1);
|
date=date.addDays(1);
|
||||||
} while (date<end);
|
} while (date<=end);
|
||||||
return days;
|
return days;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user