You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2019/01/18 02:31:00 UTC

[jira] [Created] (AIRFLOW-3727) Fix a wrong reference to timezone method

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)