Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 71557
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PatternLayout ISO8601
Hello, I found pre-defined format %d{ISO8601} "yyyy-MM-dd HH:mm:ss,SSS" should be %d{ISO8601} "yyyy-MM-dd HH:mm:ss.SSS" or %d{ISO8601} "yyyy-MM-ddTHH:mm:ss.SSS" See http://www.ietf.org/rfc/rfc3339 "5.6. Internet Date/Time Format".
Hi there, thanks for the bug report! But we're following the log4j people on this one. Note that the rfc says you can use either a comma or a period there: time-fraction = ("," / ".") 1*DIGIT and log4perl is following the log4j people in using a comma.
Kevin has already pointed out the spec, and for bonus points, I'll add something I just found on Wikipedia: "Decimal fractions may also be added to any of the three time elements. A decimal point, either a comma or a dot (without any preference as stated most recently in resolution 10 of the 22nd General Conference CGPM in 2003), is used as a separator between the time element and its fraction." http://en.wikipedia.org/wiki/ISO_8601 Thanks for the report, marking bug closed.