timkpaine commented on code in PR #30083:
URL: https://github.com/apache/airflow/pull/30083#discussion_r1383314110


##########
airflow/utils/timezone.py:
##########
@@ -74,6 +77,18 @@ def utc_epoch() -> dt.datetime:
     return result
 
 
+def in_timezone(datetime: DateTime, tz: Timezone, dst_rule: str = 
pendulum.PRE_TRANSITION) -> DateTime:

Review Comment:
   Yeah they're the same, I can look to change this, the necessary 
functionality involves switching between pre and post based on which direction 
you're moving and which DST transition it is, to account for doing the extra 
hour both pre and post transition 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to