Closed tcmitchell closed 7 years ago
creation and expiration times are converted to GMT twice so the times reported by the opsmon REST endpoint are in the future. See https://github.com/GENI-NSF/aws-transition/issues/10
Use calendar.timegm() instead of time.mktime() to convert these timestamps to seconds since the epoch.
calendar.timegm()
time.mktime()
creation and expiration times are converted to GMT twice so the times reported by the opsmon REST endpoint are in the future. See https://github.com/GENI-NSF/aws-transition/issues/10
Use
calendar.timegm()
instead oftime.mktime()
to convert these timestamps to seconds since the epoch.