uranusjr commented on a change in pull request #18475:
URL: https://github.com/apache/airflow/pull/18475#discussion_r714913241
##########
File path: airflow/example_dags/plugins/workday.py
##########
@@ -54,7 +54,7 @@ def next_dagrun_info(
) -> Optional[DagRunInfo]:
if last_automated_data_interval is not None: # There was a previous
run on the regular schedule.
last_start = last_automated_data_interval.start
- last_start_weekday = 7 - last_start.weekday()
+ last_start_weekday = last_start.weekday()
Review comment:
🤦
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]