You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/03/11 00:42:00 UTC
[jira] [Created] (LOG4J2-2805) TimeFilter does not handle daylight
saving time transitions
Ralph Goers created LOG4J2-2805:
-----------------------------------
Summary: TimeFilter does not handle daylight saving time transitions
Key: LOG4J2-2805
URL: https://issues.apache.org/jira/browse/LOG4J2-2805
Project: Log4j 2
Issue Type: Bug
Components: Filters
Affects Versions: 2.13.1
Reporter: Ralph Goers
The TimeFilter unit test failed miserably on March 8 which was the beginning of daylight saving time. Looking at the code for the TimeFilter and the tests both were overly simplistic and not testing for things like setting a start time in one day with the end time in the next or having the time range overlap the daylight saving time transitions in the spring and fall.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)