ffang edited a comment on issue #2550:
URL: https://github.com/apache/camel-quarkus/issues/2550#issuecomment-832204615
For the minio integration test, the exception throws from io.minio.Time
class when using
```
public static final DateTimeFormatter HTTP_HEADER_DATE_FORMAT =
DateTimeFormatter.ofPattern("EEE',' dd MMM yyyy HH':'mm':'ss 'GMT'",
Locale.US).withZone(UTC);
```
I strongly suspest in the quarkus native mode, somehow on my machine can't
find Locale.US, instead it will use Locale.CA. So the expected time stamp
should be "Mon., 03 May 2021 18:10:53 GMT" instead of "Mon, 03 May 2021
18:10:53 GMT", I found a related jdk issue here
https://bugs.openjdk.java.net/browse/JDK-8211321
It turned out that we need to add
```
quarkus.native.user-country=US
quarkus.native.user-language=en
```
in to application.properties to make them same as the Locale used in
minio(for those machines which system default Locale isn't en_US)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]