Fixes issue where glance fails to parse image details with milli seconds in the 
date

The issue is described in this bug. 
https://issues.apache.org/jira/browse/JCLOUDS-333

Caused by: java.text.ParseException: Unparseable date: 
"2015-06-19T15:06:58.000+0000"
at java.text.DateFormat.parse(Unknown Source)
at 
org.jclouds.date.internal.SimpleDateFormatDateService.iso8601SecondsDateParse(SimpleDateFormatDateService.java:164)
... 17 more

Original pull request. Had to abandon this because of issues with squelching 
the various commits into a single commit.
https://github.com/jclouds/jclouds-labs-openstack/pull/195
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds-labs-openstack/pull/197

-- Commit Summary --

  * Fixes issue where glance fails to parse image details with milli seconds in 
the date

-- File Changes --

    M 
openstack-glance/src/main/java/org/jclouds/openstack/glance/v1_0/functions/ParseImageDetailsFromHeaders.java
 (4)
    M 
openstack-glance/src/test/java/org/jclouds/openstack/glance/v1_0/functions/ParseImageDetailsFromHeadersTest.java
 (33)

-- Patch Links --

https://github.com/jclouds/jclouds-labs-openstack/pull/197.patch
https://github.com/jclouds/jclouds-labs-openstack/pull/197.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/197

Reply via email to