You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Andy Huynh (JIRA)" <ji...@apache.org> on 2019/01/25 21:49:00 UTC
[jira] [Assigned] (AIRFLOW-3727) Fix a wrong reference to timezone
method
[ https://issues.apache.org/jira/browse/AIRFLOW-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Huynh reassigned AIRFLOW-3727:
-----------------------------------
Assignee: Andy Huynh
> 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
> Assignee: Andy Huynh
> Priority: Minor
> Labels: easyfix, starter
>
> [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)