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/28 07:18:00 UTC
[jira] [Closed] (LOG4J2-2805) TimeFilter does not handle daylight
saving time transitions
[ https://issues.apache.org/jira/browse/LOG4J2-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers closed LOG4J2-2805.
-------------------------------
Fix Version/s: 2.13.2
Resolution: Fixed
Fix applied
> 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
> Priority: Major
> Fix For: 2.13.2
>
>
> 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)