diff --git a/arrow/arrow.py b/arrow/arrow.py index d40927ed..6ac97d08 100644 --- a/arrow/arrow.py +++ b/arrow/arrow.py @@ -582,6 +582,8 @@ def span( floor = floor.shift(days=-(self.isoweekday() - week_start) - delta) elif frame_absolute == "quarter": floor = floor.shift(months=-((self.month - 1) % 3)) + else: + floor = floor.shift(**{frame_relative: -(getattr(self, frame_absolute) % count * relative_steps)}) ceil = floor.shift( check_imaginary=True, **{frame_relative: count * relative_steps}