Work time and half hours

Hi!
I was trying to setup a chart with work hours enabled, and i succeded in dynamically displaying the work hours and holidays.
I was wondering though, what if i would need to have “uneven” work hours?
Like if i want my work day to be 8.30 - 12.30 / 13.30 - 18.30?
Is this possible? I could not find documentation relatively to this topic.
Thanks in advance :smiley:

Hello,
the current version of the worktime settings allows only the whole hours, so right now it can’t be done.
You may try extending the current functionality by overriding some methods of the helper that does working time calculations, here are the readable source codes (although, this part may be somewhat cryptic)

github.com/DHTMLX/gantt/blob/v3 … t.js#L4838
github.com/DHTMLX/gantt/blob/v3 … t.js#L4953

If you’re be doing that, make sure you not modifying the sources directly - all methods can be redefined from your code by overwriting the methods, or you can fork the repository

That sounds a bit tricky, i’ll look into it, thanks.

Are there any plans on implementing the feature in next versions of the library?
I’m currently evaluating the PRO version for a commercial project, and i would like to know if i can delay such implementation.

Thanks in advance

Most probably it won’t be implemented with the next update (September-October 2015), we have more or less fixed feature list for that release