> @@ -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));
Thanks for investigating this! Let's clean this commit up as suggested above
and reference this quirk in a comment.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/456/files#r15431948