airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Goel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-289) Use datetime.utcnow() to keep airflow system independent
Date Wed, 29 Jun 2016 02:45:45 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15354421#comment-15354421
] 

Vineet Goel commented on AIRFLOW-289:
-------------------------------------

I saw a bunch of datetime.now() used all over the codebase. This works well if all the systems
are in UTC (as is the case at Airbnb according to the post: https://cwiki.apache.org/confluence/display/AIRFLOW/Common+Pitfalls).
We could change them to datetime.utcnow() to make this system independent.

> Use datetime.utcnow() to keep airflow system independent
> --------------------------------------------------------
>
>                 Key: AIRFLOW-289
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-289
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Vineet Goel
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message