koshy1123 opened a new issue #14299:
URL: https://github.com/apache/airflow/issues/14299


   **Apache Airflow version**: 2.0.0
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release): Ubuntu
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   The start date in the "DAG Details" view 
`{AIRFLOW_URL}/dag_details?dag_id={dag_id}` is incorrect if there's a schedule 
for the DAG.
   
   **What you expected to happen**:
   
   Start date should be the same as the specified date in the DAG.
   
   **How to reproduce it**:
   For example, I created a DAG with a start date of `2019-07-09` but the DAG 
details view shows:
   
![image](https://user-images.githubusercontent.com/12819087/108415107-ee07c900-71e1-11eb-8661-79bd0288291c.png)
   
   Minimal code block to reproduce:
   ```
   from datetime import datetime, timedelta
   START_DATE = datetime(2019, 7, 9)
   DAG_ID = '*redacted*'
   dag = DAG(
       dag_id=DAG_ID,
       description='*redacted*',
       catchup=False,
       start_date=START_DATE,
       schedule_interval=timedelta(weeks=1),
       )
   start = DummyOperator(task_id='start', dag=dag)
   ```
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to