Barski-lab / cwl-airflow

Python package to extend Airflow functionality with CWL1.1 support
https://barski-lab.github.io/cwl-airflow
Apache License 2.0
185 stars 32 forks source link

Use utcfromtimestamp instead of fromtimestamp when setting creation date. #22

Closed shubham-padia closed 5 years ago

shubham-padia commented 5 years ago

The creation date of a job dag is set from the unix timestamp of the creation date of the corresponding job file. datetime.fromtimestamp() converts the unix timestamp to local time, this may lead to a delay in running the dag if the system running airflow is not using UTC timezone.

Solution:

Testing:

michael-kotliar commented 5 years ago

@shubham-padia Thanks for your pull request. The conformance tests are usually run here