|
|
@@ -92,7 +92,7 @@ def main():
|
|
|
now = datetime.now()
|
|
|
start_ct_time = now.strftime('%Y-%m-%d %H:%M:%S')
|
|
|
now_hour = now.hour
|
|
|
- today_str = datetime.strptime(f'{now.year-now.month-now.day} 19:00:00', "%Y:%m:%d %H:%M:%S")
|
|
|
+ today_str = datetime.strptime(f'{now.year}-{now.month}-{now.day} 19:00:00', "%Y-%m-%d %H:%M:%S")
|
|
|
for day_obj in day_data:
|
|
|
time_out = False
|
|
|
print(day_obj.cityid)
|