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

TimeFilter does not handle daylight saving time transitions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.1
    • Fix Version/s: 2.13.2
    • Component/s: Filters
    • Labels:
      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

            People

            • Assignee:
              Unassigned
              Reporter:
              rgoers Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: