LionelZhao28 opened a new pull request #17502:
URL: https://github.com/apache/airflow/pull/17502


   Why I commit this change:  
     * When checking the `airflow` features, I found that the dag `run_id` is 
generated using the UTC time, but actually, it is not convenient for us to use 
the UTC time. 
     * For example, I am in Beijing now, I ran a DAG at 19:00, the default 
`run_id` is `manual__2021-09-08T11:01:02.022226+08:00`, but after a few hours, 
I want to find this run, I have to parse the local time to UTC time to get the 
specific dag_run.
   
   How do I change:
     * Added a config `localize_dag_run_id` in the `core` config and the 
default value is False. It takes no effect if the user doesn't care about the 
dag run_id format. If the users who just like me want to use the local time to 
generate the `run_id`, they can set it to `True`
   
   Result:
   
   
![image](https://user-images.githubusercontent.com/7628879/128689674-2e1ed279-c5fc-4ecb-be9a-b1704bb07073.png)
   
   


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


Reply via email to