The add_to_date method in duration.inc seems to only add the duration from the last element in the duration array.

For example if you run add_to_date with a duration of 1 hour and 30 minutes, then it only adds 30 minutes to the date.

I made a patch that fixed this issue for me.

CommentFileSizeAuthor
duration_add_start.patch541 byteskleinmp