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:
commit
81d0f14a67
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue