Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2805

TimeFilter does not handle daylight saving time transitions

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.1
    • 2.13.2
    • Filters
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment