Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1596

Date pattern broken since 1.3.0-alpha11

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.3.0-alpha11
    • logback-core
    • None
    • Jdk11

    Description

      Using this pattern:

      <pattern>%date{dd MMM yyyy;HH:mm:ss.SSS} %-5level %logger{50} - %msg%n</pattern>

       

      In 1.3.0-alpha11 I get:

      `20 ene 1970;00:29:43.126 INFO org.example.DatePatternBrokenTest - something`

       

      In 1.3.0-alpha10 I get:

      `18 dic 2021;00:19:58.343 INFO org.example.DatePatternBrokenTest - something`

       

      So date pattern is broken, I've been looking to provide a PR but didn't see the relevant change.

      Reproducer: https://github.com/cocorossello/logback-datepattern-broken-1.3.0-alpha11

       

      Attachments

        Activity

          People

            logback-dev Logback dev list
            cocorossello Vicente Rossello Jaume
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: