fix: change date crossover to 3:00 am ETC (#39)
This commit is contained in:
@@ -7,7 +7,7 @@ SCOREBOARD_DATA_FILE = 'app/data/scoreboard_data.json'
|
||||
def get_scoreboard_data():
|
||||
now = datetime.now()
|
||||
start_time_evening = now.replace(hour=19, minute=00, second=0, microsecond=0) # 7:00 PM EST
|
||||
end_time_evening = now.replace(hour=2, minute=00, second=0, microsecond=0) # 3:00 AM EST
|
||||
end_time_evening = now.replace(hour=3, minute=00, second=0, microsecond=0) # 3:00 AM EST
|
||||
|
||||
if now >= start_time_evening or now < end_time_evening:
|
||||
# Use now URL
|
||||
|
||||
Reference in New Issue
Block a user