Kengo Seki created AIRFLOW-3727:
-----------------------------------

             Summary: Fix a wrong reference to timezone method
                 Key: AIRFLOW-3727
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3727
             Project: Apache Airflow
          Issue Type: Bug
          Components: Documentation
            Reporter: Kengo Seki


[https://airflow.apache.org/timezone.html] says:
{quote}You can use timezone.is_aware() and timezone.is_naive() to determine 
whether datetimes are aware or naive.
{quote}
But the right method name is {{timezone.is_localized}}, not 
{{timezone.is_aware}}.
 (Or, should we add {{timezone.is_aware}} as an alias of 
{{timezone.is_localized}}, to be congruent with {{timezone.make_aware}} and 
{{timezone.make_naive}}?)



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

Reply via email to