Closed prcutler closed 5 years ago
While working on NFLPool, I think I realized the problem may be related to a timezone calculation - need to check that all the Pendulum instances are referencing a specific timezone (New York), otherwise it would default to GMT.
This should be fixed with the 2.0 release today and with the updates on how Pendulum sets the timezone to EST and MSF moving to UTC. Will reopen if it breaks with the 2019 season.
There appears to be a bug in the GameDayService where picks were not allowed to be submitted before the first game.
From the print statements:
Season datetime: 2018-03-29T12:40:00+00:00 and it is now 2018-03-29T10:23:26.072405-04:00
The season starts with Cubs at Marlins on Mar 29, 2018 at 12:40 PM EST. There are 0 days, -1 hours, and -43 minutes left until picks are due.
Converted: 2018-07-17T19:00:00-04:00 Now time: 2018-03-28T18:02:41.621866-04:00 Break starts at 2018-07-15T19:00:00-04:00 Break ends at 2018-07-19T19:00:00-04:00 Too late! The season has already started.