fantasy-tools icon indicating copy to clipboard operation
fantasy-tools copied to clipboard

Hard-coded '2020' breaks standings simulator for 2021 season

Open WrongSandwich opened this issue 4 years ago • 0 comments

Not sure if this is still an active project, but the line below is preventing the standings simulator from working with the current fantasy season.

I believe replacing 2020 with new Date().getFullYear() should fix the issue.

https://github.com/JakePartusch/fantasy-tools/blob/cf9ce9fc806d136babdc9cef65f2b101957bf24d/src/pages/standings/StandingsSimulator.js#L48

WrongSandwich avatar Sep 14 '21 13:09 WrongSandwich