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/16 05:41:47 UTC

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

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



##########
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:
       The `start_date` here is not the DAG start_date. It is the dag run starting time of the run. Internally it's all tracked in UTC and rendered in the user's timezone on UI.
   
   Correct me if I am wrong.




-- 
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