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

ASF subversion and git services commented on AIRFLOW-2859:
----------------------------------------------------------

Commit a6d5ee9ce57bcdd22dde3fdf00e3b1cd26274ede in incubator-airflow's branch 
refs/heads/v1-10-stable from bolkedebruin
[ https://gitbox.apache.org/repos/asf?p=incubator-airflow.git;h=a6d5ee9 ]

[AIRFLOW-2859] Implement own UtcDateTime (#3708)

The different UtcDateTime implementations all have issues.
Either they replace tzinfo directly without converting
or they do not convert to UTC at all.

We also ensure all mysql connections are in UTC
in order to keep sanity, as mysql will ignore the
timezone of a field when inserting/updating.

(cherry picked from commit 6fd4e6055e36e9867923b0b402363fcd8c30e297)
Signed-off-by: Bolke de Bruin <bo...@xs4all.nl>
(cherry picked from commit 8fc8c7ae5483c002f5264b087b26a20fd8ae7b67)
Signed-off-by: Bolke de Bruin <bo...@xs4all.nl>


> DateTimes returned from the database are not converted to UTC
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-2859
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2859
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: database
>            Reporter: Bolke de Bruin
>            Priority: Blocker
>             Fix For: 1.10.0
>
>
> This is due to the fact that sqlalchemy-utcdatetime does not convert to UTC 
> when the database returns datetimes with tzinfo.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to