Closed GoogleCodeExporter closed 8 years ago
Original comment by mgron...@gmail.com
on 6 May 2009 at 9:50
I think the error here is actually in the software rather than the tests. RFC
822 dates are English-only. We should
be using the ENGLISH or US locale for RFC 822 date formatting, and something
else in the tests.
I don't know the severity of this, because I don't know if the GSA actually
handles non-English RFC 822 dates
(whatever that might mean, really).
Original comment by jl1615@gmail.com
on 14 May 2009 at 5:45
[deleted comment]
Hi,
Yes, the problem is from the software.
A quick fix we use :
private static final SimpleDateFormat RFC822_DATE_FORMAT = new
SimpleDateFormat("EEE', 'dd' 'MMM' 'yyyy' 'HH:mm:ss z");
To :
private static final SimpleDateFormat RFC822_DATE_FORMAT = new
SimpleDateFormat("EEE', 'dd' 'MMM' 'yyyy' 'HH:mm:ss z", Locale.ENGLISH);
Works well here.
See attached file for example.
Regards,
Nicolas Bélisle
Constellio team
Original comment by nicolas....@gtempaccount.com
on 4 Aug 2009 at 6:29
Attachments:
Original comment by jl1615@gmail.com
on 24 Oct 2009 at 3:00
Fixed in r2303. We are using Locale.ENGLISH in the date format.
Original comment by jl1615@gmail.com
on 26 Oct 2009 at 5:26
Original comment by jl1615@gmail.com
on 27 Oct 2009 at 11:05
Original issue reported on code.google.com by
jl1615@gmail.com
on 14 Jan 2009 at 1:45