> @@ -51,7 +51,17 @@ public void endElement(String uri, String name, String 
> qName) {
>        if (qName.equals("ETag")) {
>           this.currentETag = currentOrNull(currentText);
>        } else if (qName.equals("LastModified")) {
> -         this.currentLastModified = 
> dateParser.iso8601DateParse(currentOrNull(currentText));
> +         try {
> +            this.currentLastModified = dateParser
> +                  .iso8601DateParse(currentOrNull(currentText));
> +         } catch (IllegalArgumentException orig) {
> +            try {
> +               this.currentLastModified = dateParser
> +                     .iso8601SecondsDateParse(currentOrNull(currentText));

@andrewgaul: Yes, this issue has been raised upstream with EMC but we don't 
have a resolution yet. If you have any good pointers to documentation for S3 
timestamp formats, please do point them my way. I will also post updates in 
case I hear anything back from them.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456/files#r15431698

Reply via email to