Jon Solow
commited on
Commit
·
595bd47
1
Parent(s):
eaae921
Fix date compare for lock to be eastern time
Browse files
src/pages/10_Set_Your_Lineup.py
CHANGED
@@ -65,7 +65,8 @@ class PlayerOption:
|
|
65 |
if not self.gametime:
|
66 |
return False
|
67 |
else:
|
68 |
-
|
|
|
69 |
|
70 |
|
71 |
def initialize_empty_options_map() -> dict[str, dict[int, list[PlayerOption]]]:
|
|
|
65 |
if not self.gametime:
|
66 |
return False
|
67 |
else:
|
68 |
+
date_compare = (pd.Timestamp.now(tz="America/New_York")) + pd.Timedelta(days=0, hours=0)
|
69 |
+
return self.gametime < date_compare
|
70 |
|
71 |
|
72 |
def initialize_empty_options_map() -> dict[str, dict[int, list[PlayerOption]]]:
|