diff --git a/suntime/suntime.py b/suntime/suntime.py index e4eb53a..2fad95a 100644 --- a/suntime/suntime.py +++ b/suntime/suntime.py @@ -137,8 +137,7 @@ def get_sun_timedelta(self, at_date, time_zone, is_rise_time=True, zenith=90.8): # 7c. rounding and impose range bounds UT = round(UT, 2) - if is_rise_time: - UT = self._force_range(UT, 24) + UT = self._force_range(UT, 24) # Apply to both sunrise and sunset # 8. return timedelta return timedelta(hours=UT)