Details
-
Bug
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
None
-
Windows XP SP3, Polish
Description
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}.*.
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.