uranusjr commented on PR #30083:
URL: https://github.com/apache/airflow/pull/30083#issuecomment-1827364001

   Hmm, after some more tests I’m not sure we have the right fix here. Using 
Switzerland as an example (it is +1/+2, making the mental arithmetic a bit 
easier), DST was entered in 2023 on March 26, so for 0 2 * * *` (every day at 
2am), the intervals should be
   
   * UTC 2023-03-23T01:00:00 to 2023-03-24T01:00:00 (no DS so +1 for both)
   * UTC 2023-03-24T01:00:00 to 2023-03-25T00:00:00 (entering DS, the interval 
ends one hour early!)
   * UTC 2023-03-25T00:00:00 to 2023-03-26T00:00:00 (inside DST)
   
   It is important for the second interval to end on 1am UTC since the wall 
clock in Switzerland goes to 3am at this moment. But from my testing the second 
interval does not end correctly with the current implementation in this PR. We 
need more work here.


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