[logback-dev] [JIRA] Created: (LBCORE-144) DatePatternToRegexTest fails when run with Polish locale
Tomasz Nurkiewicz (JIRA)
noreply-jira at qos.ch
Wed Mar 17 19:50:16 CET 2010
DatePatternToRegexTest fails when run with Polish locale
--------------------------------------------------------
Key: LBCORE-144
URL: http://jira.qos.ch/browse/LBCORE-144
Project: logback-core
Issue Type: Bug
Components: Rolling
Affects Versions: 0.9.18
Environment: Windows XP SP3, Polish
Reporter: Tomasz Nurkiewicz
Assignee: Logback dev list
Priority: Trivial
When ch.qos.logback.core.rolling.helper.DatePatternToRegexTest runs with Polish locale (pl_PL), dayInWeek test fails:
java.lang.AssertionError: [2009-wrz-Cz] does not match regex [\d{4}-.*-.{3,12}]
at org.junit.Assert.fail(Assert.java:74)
at org.junit.Assert.assertTrue(Assert.java:37)
at ch.qos.logback.core.rolling.helper.DatePatternToRegexTest.verify(DatePatternToRegexTest.java:98)
at ch.qos.logback.core.rolling.helper.DatePatternToRegexTest.doTest(DatePatternToRegexTest.java:82)
at ch.qos.logback.core.rolling.helper.DatePatternToRegexTest.doTest(DatePatternToRegexTest.java:86)
at ch.qos.logback.core.rolling.helper.DatePatternToRegexTest.dayInWeek(DatePatternToRegexTest.java:67)
Where "wrz" stands for "wrzesień" (Polish for September) and "Cz" for "Czwartek" (Thursday). "Cz" does not match '{3,12}' pattern produced by ch.qos.logback.core.rolling.helper.SequenceToRegex4SDF#toRegex method.
To reproduce use: -Duser.language=pl -Duser.region=PL JVM params.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list