RDS - change ClusterSnapshot creationtime to UTC (#5387)

This commit is contained in:
Bert Blommers 2022-08-23 17:23:39 +00:00 committed by GitHub
parent 0d5fdbe554
commit dffd817a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,7 +260,9 @@ class ClusterSnapshot(BaseModel):
self.snapshot_id = snapshot_id
self.tags = tags
self.status = "available"
self.created_at = iso_8601_datetime_with_milliseconds(datetime.datetime.now())
self.created_at = iso_8601_datetime_with_milliseconds(
datetime.datetime.utcnow()
)
@property
def snapshot_arn(self):