commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DbUtils] BasicRowProcessorTest - BUG FIX
Date Mon, 31 May 2004 12:54:32 GMT
This is fixed in CVS now.

Thanks,
David

--- Mikhail Krivoshein <mikhail@mikkri.com> wrote:
> Hello all,
> 
> There is bug in BasicRowProcessorTest unit-test.
> When I'm running this test on my PC with Russian windows installed 
> SimpleDateFormat fails to parse
> "Sun Mar 14 15:19:15 MST 2004" because it is expecting to see russian 
> words instead these english words.
> 
> To solve bug these lines:
> 
>     private static final DateFormat datef =
>         new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy");
> 
> need to be replaced by these lines:
> 
>     private static final DateFormat datef =
>         new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US);
> 
> Best regards,
> Mikhail Krivoshein
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message