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 2022/08/24 17:54:27 UTC

[GitHub] [airflow] potiuk commented on a diff in pull request #25944: Fix example branch datetime operator

potiuk commented on code in PR #25944:
URL: https://github.com/apache/airflow/pull/25944#discussion_r954112532


##########
airflow/operators/datetime.py:
##########
@@ -80,12 +80,12 @@ def choose_branch(self, context: Context) -> Union[str, Iterable[str]]:
             now = timezone.make_naive(context["logical_date"], self.dag.timezone)
         else:
             now = timezone.make_naive(timezone.utcnow(), self.dag.timezone)

Review Comment:
   Crossed my mind - I just wasn't sure if there is a deeper meaning to it :)



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org