Skip to content

Commit

Permalink
unights/apscheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
unights committed Apr 23, 2024
1 parent 3e42a1b commit efd0013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apscheduler/triggers/calendarinterval.py
Expand Up @@ -118,7 +118,7 @@ def next(self) -> datetime | None:
next_time = datetime.fromtimestamp(timestamp, self.timezone)

# Check if the time is off due to normalization and a forward DST shift
if next_time.time() != self._time:
if next_time.timetz() != self._time:
previous_date = next_time.date()
else:
self._last_fire_date = next_date
Expand Down

0 comments on commit efd0013

Please sign in to comment.