bugfix #178: event fromtoperiod ignores last day