This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: TimedRotatingFileHandler doesn’t handle DST switch with daily rollover
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: snoopyjc, vinay.sajip
Priority: normal Keywords:

Created on 2020-02-17 13:26 by snoopyjc, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg362140 - (view) Author: Joe Cool (snoopyjc) Date: 2020-02-17 13:26
TimedRotatingFileHandler doesn’t handle the switch to/from DST when using daily/midnight rotation. It does not adjust the rollover time so the rollover will be off by an hour. 

Parameters: when=‘midnight’, utc=False
msg362156 - (view) Author: Joe Cool (snoopyjc) Date: 2020-02-17 20:38
Never mind. I was looking for the DST code in computeRollover, and I found it in doRollover.
History
Date User Action Args
2022-04-11 14:59:26adminsetgithub: 83842
2020-02-17 20:38:41snoopyjcsetstatus: open -> closed

messages: + msg362156
stage: resolved
2020-02-17 16:20:31xtreaksetnosy: + vinay.sajip
2020-02-17 13:26:48snoopyjccreate