1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2303 from nosborn/vcloud_director_no_datetime_iso8601

[vcloud_director] strftime not iso8601 for ruby 1.8.7
This commit is contained in:
Nick Osborn 2013-10-21 11:40:38 -07:00
commit 81d0f14a67

View file

@ -74,10 +74,10 @@ module Fog
StorageLeaseInSeconds section[:StorageLeaseInSeconds]
end
if section.key?(:DeploymentLeaseExpiration)
DeploymentLeaseExpiration section[:DeploymentLeaseExpiration].iso8601
DeploymentLeaseExpiration section[:DeploymentLeaseExpiration].strftime('%Y-%m-%dT%H:%M:%S%z')
end
if section.key?(:StorageLeaseExpiration)
StorageLeaseExpiration section[:StorageLeaseExpiration].iso8601
StorageLeaseExpiration section[:StorageLeaseExpiration].strftime('%Y-%m-%dT%H:%M:%S%z')
end
}
end