Add new quarter function from patch fixes #3718. Thanks to dirk for providing the patch.
Merge branch 'next' of git.icinga.org:icinga-reports into next