Issue Type: Bug Bug
Affects Versions: 1.1.2
Assignee: Logback dev list
Components: logback-core
Created: 07/Apr/14 6:23 PM
Description:

When I have Czech locale test fails.

{{Failed tests:
DatePatternToRegexTest.timeZone:68->doTest:93->doTest:89->verify:105 [2009-IX-03 21:57:16 CEST] does not match regex [\d

{4}.{3,12}\d{2} \d{2}:\d{2}:\d{2} .*]
DatePatternToRegexTest.dot:62->doTest:93->doTest:89->verify:105 [2009.IX.03] does not match regex [\d{4}

\..

{3,12}\.\d{2}]
DatePatternToRegexTest.month:56->doTest:93->doTest:89->verify:105 [2009-IX-03] does not match regex [\d{4}-.{3,12}

-\d

{2}]
DatePatternToRegexTest.dayInWeek:74->doTest:93->doTest:89->verify:105 [2009-IX-Čt] does not match regex [\d{4}.{3,12}.{2,12}]
DatePatternToRegexTest.amPm:81->doTest:93->doTest:89->verify:105 [2009-09-03 odp.] does not match regex [\d{4}-\d{2}

-\d

{2} .{2}

]}}

It looks like that CharSequenceToRegexMapper suppose that MMM means string of length from 3 to 12 chars. But SimpleDateFormat uses Locale names for months and it could be string of length 1 to n chars.

Project: logback
Labels: test
Priority: Major Major
Reporter: Ivo Smid
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira