Our state of the art Gantt chart


Post by mrefaat »

The Gantt chart does not account for vacations (e.g., a task starting on 21/07/2024 with a duration of 5 days should end on 28/07/2024).
you can test with this Project: "vacation Project "

Attachments
vacation.PNG
vacation.PNG (62.35 KiB) Viewed 120 times

Post by Maxim Gorkovsky »

Hello.
This one is caused by incorrect date format. You use "startDate":"2024-07-26:00:00:00" and correct format is "startDate":"2024-07-26T00:00:00". If you go to the calendar details in task edit you will see that July 25 does not have any exceptions.

Also, to mark entire day non-working you should use start of the next day for the end of the interval. In this case you won't even need the time information:

// entire day
{
  startDate: '2024-07-01',
  endDate: '2024-07-02',
  isWorking: false
}

// few hours in the middle of the day
{
  startDate: '2024-07-01T10:00:00',
  endDate: '2024-07-01T14:00:00',
  isWorking: false
}

Post by mrefaat »

Thanks a lot. This solved the issue we can close the topic


Post Reply