Note that we are also not using the latest code from Commons-Lang which has had some bug fixes since we copied it.
Gary On Sun, Nov 1, 2015 at 4:11 PM, Remko Popma <[email protected]> wrote: > I saw FixedDateFormatTest fail when I was in Holland and had switched my > laptop to use the Amsterdam timezone (but perhaps still using Japanese > style date/time formatting). > > The test failed with the %d{dd MMM yyyy HH:mm:ss,SSS} (and the %d{DATE}) > formats: > The FastDateFormat used in FixedDateFormat gave 02 Nov 2015 08:59:59,002, > where SimpleDateFormat gave 02 11 2015 08:59:59,002. > > So with SimpleDateFormat the month formatted in Japanese style (giving > "11" instead of "Nov"). > > I fixed FixedDateFormatTest by passing Locale.getDefault() to the > SimpleDateFormat constructor. > I am still not 100% sure what happened. Something to do with > DateFormatSymbols? > > > > On Mon, Nov 2, 2015 at 8:17 AM, Gary Gregory <[email protected]> > wrote: > >> So... our users will run into this bug in very specific time frames...? >> >> Gary >> >> On Sun, Nov 1, 2015 at 2:55 PM, Matt Sicker <[email protected]> wrote: >> >>> Of course, it could be an actual DST bug. >>> >>> On 1 November 2015 at 16:54, Matt Sicker <[email protected]> wrote: >>> >>>> Looks like a DST issue that will work again starting tomorrow after >>>> about 2:00am. >>>> >>>> On 1 November 2015 at 16:31, Gary Gregory <[email protected]> >>>> wrote: >>>> >>>>> Well, it would be good to know what you see. >>>>> >>>>> Gary >>>>> >>>>> On Sun, Nov 1, 2015 at 2:02 PM, Ralph Goers < >>>>> [email protected]> wrote: >>>>> >>>>>> I could test it but it probably won’t fail for me. Arizona doesn’t >>>>>> spring forward or fall back. >>>>>> >>>>>> Ralph >>>>>> >>>>>> On Nov 1, 2015, at 2:51 PM, Gary Gregory <[email protected]> >>>>>> wrote: >>>>>> >>>>>> We have failures in >>>>>> org.apache.logging.log4j.core.util.datetime.FixedDateFormatTest >>>>>> >>>>>> ... due to DST vs. ST? >>>>>> >>>>>> Gary >>>>>> >>>>>> -- >>>>>> E-Mail: [email protected] | [email protected] >>>>>> Java Persistence with Hibernate, Second Edition >>>>>> <http://www.manning.com/bauer3/> >>>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>>>> Spring Batch in Action <http://www.manning.com/templier/> >>>>>> Blog: http://garygregory.wordpress.com >>>>>> Home: http://garygregory.com/ >>>>>> Tweet! http://twitter.com/GaryGregory >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> E-Mail: [email protected] | [email protected] >>>>> Java Persistence with Hibernate, Second Edition >>>>> <http://www.manning.com/bauer3/> >>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>>> Spring Batch in Action <http://www.manning.com/templier/> >>>>> Blog: http://garygregory.wordpress.com >>>>> Home: http://garygregory.com/ >>>>> Tweet! http://twitter.com/GaryGregory >>>>> >>>> >>>> >>>> >>>> -- >>>> Matt Sicker <[email protected]> >>>> >>> >>> >>> >>> -- >>> Matt Sicker <[email protected]> >>> >> >> >> >> -- >> E-Mail: [email protected] | [email protected] >> Java Persistence with Hibernate, Second Edition >> <http://www.manning.com/bauer3/> >> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >> Spring Batch in Action <http://www.manning.com/templier/> >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory >> > > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
