You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/15 12:11:27 UTC

[GitHub] [airflow] alexInhert commented on a change in pull request #18226: Add start date to trigger_dagrun operator

alexInhert commented on a change in pull request #18226:
URL: https://github.com/apache/airflow/pull/18226#discussion_r709121803



##########
File path: airflow/api/common/experimental/trigger_dag.py
##########
@@ -82,6 +82,7 @@ def _trigger_dag(
     for _dag in dags_to_trigger:
         trigger = _dag.create_dagrun(
             run_id=run_id,
+            start_date=timezone.utcnow(),

Review comment:
       If the dag you trigger is timezone aware does it matter?
   I mean you consider here the default timezone but the dag you are triggering may be in a diffrent timezone than the default




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org