You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/vsajip'closed_at=<Date2008-04-02.21:13:27.249>created_at=<Date2008-03-17.08:00:05.742>labels= ['type-bug', 'library']
title='TimedRotatingFileHandler does not account for daylight savings time'updated_at=<Date2008-04-02.21:13:27.247>user='https://bugs.python.org/ceder'
If TimedRotatingFileHandler is instructed to roll over the log at
midnight or on a certain weekday, it needs to consider when daylight
savings time starts and ends. The current code just blindly adds
self.interval to self.rolloverAt, totally ignoring that sometimes it
should add 23 or 25 hours instead of 24 hours.
(I suspect that the implementation would be simpler if you use the
datetime module, rather than attempt to patch the existing code.)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: