Skip to content

Commit

Permalink
Merge pull request #105 from evanpurkhiser/remove-unused-days
Browse files Browse the repository at this point in the history
Remove unused `days` in `proc_month`
  • Loading branch information
kiorky authored Oct 30, 2024
2 parents 010b321 + 651a781 commit e312e39
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/croniter/croniter.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,6 @@ def proc_month(d):
except ValueError:
diff_month = nearest_diff_method(
d.month, expanded[MONTH_FIELD], self.MONTHS_IN_YEAR)
days = DAYS[month - 1]
if month == 2 and self.is_leap(year) is True:
days += 1

reset_day = 1

if diff_month is not None and diff_month != 0:
Expand Down

0 comments on commit e312e39

Please sign in to comment.