Lee-W commented on code in PR #75847:
URL: https://github.com/apache/airflow/pull/75847#discussion_r4410833778


##########
airflow-core/src/airflow/timetables/_cron.py:
##########
@@ -31,6 +31,27 @@
     from pendulum.tz.timezone import FixedTimezone, Timezone
 
 
+# A wall-clock gap of one hour or more may span a DST transition, so only gaps 
shorter than this limit
+# are added to ``current`` as elapsed time.

Review Comment:
   Renamed it to `_MAX_DST_SHIFT = timedelta(hours=2)` and it now only bounds 
the look-back in `_localized_ticks_within_limit`.
   It also names Antarctica/Troll as the largest DST shift in tzdata 2020–2030 
and notes that Casey's 3 h is a standard-time change, not DST. The gate no 
longer compares against a duration at all.
   



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