Skip to content

Commit

Permalink
Merge pull request #11601 from PennyDreadfulMTG/rotation-date
Browse files Browse the repository at this point in the history
Looks like we're going back to old-style release scheudle with WOE
  • Loading branch information
mergify[bot] committed Aug 15, 2023
2 parents 433358d + 27fcb60 commit e9c4c10
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions magic/seasons.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
}

def rotation_offset(code: str) -> datetime.timedelta:
if code not in SEASONS:
return datetime.timedelta(days=14)
if SEASONS.index(code) >= SEASONS.index('ONE'):
if code == 'ONE':
return datetime.timedelta(days=14)
return datetime.timedelta(days=7)

Expand Down

0 comments on commit e9c4c10

Please sign in to comment.