Looking inside the test, i noticed the following:<div><br></div><div>The dates are corrected by the <span class="">long</span> correctBasedOnTimeZone(<span class="">long</span>) method. Inside this method there is a TimeZone.getDefault()</div>
<div>As i live in São Paulo - Brazil, this method will return the "America/Sao_Paulo" timezone. Also, as we are in summer, we are on daylight saving mode. Anyway, this means that the test is dependent on the infrastructure it runs, what is generally a bad thing.</div>
<div><br></div><div>I tried changing TimeZone.getDefault() to TimeZone.getTimeZone(<span class="">"GMT"</span>), but that did not fix the issue. Needs more investigation</div>







































<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 2:10 PM, Bruno Penteado <span dir="ltr"><<a href="mailto:polaco@gmail.com" target="_blank">polaco@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I am trying to build the v1.0.9 of the project to make a hot fix for the issue LOGBACK-782 on my fork while v_1.0.10 is not released yet:</div><div><br></div>git clone <a href="https://github.com/qos-ch/logback.git" target="_blank">https://github.com/qos-ch/logback.git</a><div>

cd logback</div><div>git checkout v_1.0.9</div><div>mvn clean test</div><div><br></div><div>Im getting tests failures on the core module:</div><div><div>  testDay(ch.qos.logback.core.util.TimeUtilTest): expected:<1164078000000> but was:<1164074400000></div>

<div>  testWeek(ch.qos.logback.core.util.TimeUtilTest): expected:<1164596400000> but was:<1164592800000></div><div>  testMonth(ch.qos.logback.core.util.TimeUtilTest): expected:<1164942000000> but was:<1164938400000></div>

<div>  testVaryingNumberOfDailyPeriods(ch.qos.logback.core.rolling.helper.RollingCalendarTest): p=13 expected:<1224381600000> but was:<1224385200000></div></div><div><br></div><div>If it is relevant, I am running the project on a mac<br>

</div><div><br></div><div>If this is not a know issue and need more information, let me know</div><div><br></div><div>Thanks,<br>Bruno "Polaco"</div>
</blockquote></div><br></div>