fixed wrong date calculation

Merged Dominik Hebeler requested to merge development into master

Merge request reports