From dffd817a376f5ed9dbbb6680f0ab28509f564cf5 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Tue, 23 Aug 2022 17:23:39 +0000 Subject: [PATCH] RDS - change ClusterSnapshot creationtime to UTC (#5387) --- moto/rds/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moto/rds/models.py b/moto/rds/models.py index 8e7202cf0..7ce5ef605 100644 --- a/moto/rds/models.py +++ b/moto/rds/models.py @@ -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):