You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/04/09 23:32:05 UTC

[GitHub] [airflow] rgangopadhya commented on issue #4117: [AIRFLOW-3277] Correctly observe DST transitions for cron

rgangopadhya commented on issue #4117: [AIRFLOW-3277] Correctly observe DST transitions for cron
URL: https://github.com/apache/airflow/pull/4117#issuecomment-481477679
 
 
   @cfei18 this seems to assume that the tzinfo has a name attribute, which is not always the case. 
   
   ```
   >>> from dateutil import parser
   >>> start_time = parser.parse("2018-11-28 00:00:00 -0800")
   >> start_time.tzinfo.name
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   AttributeError: 'tzoffset' object has no attribute 'name'
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services