You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/11 16:27:00 UTC

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

    [ https://issues.apache.org/jira/browse/AIRFLOW-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927750#comment-16927750 ] 

ASF GitHub Bot commented on AIRFLOW-3727:
-----------------------------------------

stale[bot] commented on pull request #4590: [AIRFLOW-3727] Change references of is_localized to is_aware
URL: https://github.com/apache/airflow/pull/4590
 
 
   
 
----------------------------------------------------------------
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


> 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
(v8.3.2#803003)