Gantt: Closed days aren't ignored when delaying tasks

0 votes
asked Jun 28, 2022 in Bug by anonymous

When delaying tasks in a gantt diagram the expected behavior would be that closed days are ignored. Since all other time values also ignore closed days. Instead you have to count closed days + delayed days.

Example:

@startgantt

saturday are closed
sunday are closed
2022-07-04 to 2022-07-15 is closed

Project starts 2022-06-27
[task1] starts at 2022-06-27 and lasts 1 week
[task2] starts 2 days after [task1]'s end and lasts 3 days

@endgantt

I would expect task2 to last from Wednesday (2022-07-20) to Friday (2022-07-22). Since the begin after the closed days is Monday (2022-07-18) and delayed by two days would be Wednesday. But to achieve this behavior I have to do the following:

@startgantt

saturday are closed
sunday are closed
2022-07-04 to 2022-07-15 is closed

Project starts 2022-06-27
[task1] starts at 2022-06-27 and lasts 1 week
[task2] starts 18 days after [task1]'s end and lasts 3 days

@endgantt

1 Answer

0 votes
answered Aug 18, 2022 by plantuml (295,800 points)

With last beta, you can have the following syntax:

@startgantt

saturday are closed
sunday are closed
2022-07-04 to 2022-07-15 is closed

Project starts 2022-06-27
[task1] starts at 2022-06-27 and lasts 1 week
[task2] starts 2 working days after [task1]'s end and lasts 3 days

@endgantt

Is this what you are expecting?

commented Sep 8, 2022 by anonymous
Excuse my late response.

This is exactly my desired behavior. Thank you!
...