[ 
https://issues.apache.org/jira/browse/AIRFLOW-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bolke de Bruin updated AIRFLOW-1710:
------------------------------------
    Issue Type: Sub-task  (was: Task)
        Parent: AIRFLOW-288

> Add timezone setting to Airflow DAG
> -----------------------------------
>
>                 Key: AIRFLOW-1710
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1710
>             Project: Apache Airflow
>          Issue Type: Sub-task
>          Components: DAG
>    Affects Versions: 1.9.0
>            Reporter: Chris Riccomini
>            Assignee: Bolke de Bruin
>
> We have some use cases where we'd like to run DAGs pegged to a specific 
> timezone.
> Customers want things to happen in their time zone. If they have DST, it's 
> not a constant offset from UTC. If they aren't in the US, their DST isn't a 
> constant offset from California's DST (where we run). GB, for example.
> One way to solve this would be to have the DAG start with PythonOperator task 
> that calculates the difference between UTC and the expected timezone, and 
> sleeps for that amount of time.
> Another (cleaner?) way would be to add a field to the DAG model that allows 
> the DAG author to specify the timezone that the DAG should be scheduled in. 
> For example, we could have our Airflow box continue to run on UTC, but 
> schedule a specific DAG for Pacific/US, which would adjust according to 
> daylight savings time. We could schedule other DAGs to run on GB DST, etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to