[logback-dev] [JIRA] (LOGBACK-1303) Wrong delimiter in pattern layout for ISO 8601

QOS.CH (JIRA) noreply-jira at qos.ch
Fri May 26 11:47:00 CEST 2017


Maxim Neverov created LOGBACK-1303:
--------------------------------------

             Summary: Wrong delimiter in pattern layout for ISO 8601
                 Key: LOGBACK-1303
                 URL: https://jira.qos.ch/browse/LOGBACK-1303
             Project: logback
          Issue Type: Bug
          Components: logback-core
    Affects Versions: 1.2.3
            Reporter: Maxim Neverov
            Assignee: Logback dev list


The CoreConstants class contains the following:
{code:java}
public static final String ISO8601_PATTERN = "yyyy-MM-dd HH:mm:ss,SSS";{code}
According to [https://www.w3.org/TR/NOTE-datetime] a decimal fraction of a second must be delimited by a dot, not comma. So the rigth pattern would be:
{code:java}
yyyy-MM-dd HH:mm:ss.SSS{code}



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list