From 8a3d26d9234db91a9e075178850ba57848e90c18 Mon Sep 17 00:00:00 2001 From: zoriana2021 Date: Thu, 3 Nov 2022 13:43:01 +0200 Subject: [PATCH] [UM-796] - Use utc timezone --- panoply/constants.py | 2 +- panoply/records.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panoply/constants.py b/panoply/constants.py index dfc3827..c2df453 100644 --- a/panoply/constants.py +++ b/panoply/constants.py @@ -1,2 +1,2 @@ -__version__ = "3.1.0" +__version__ = "3.1.1" __package_name__ = "panoply-python-sdk" diff --git a/panoply/records.py b/panoply/records.py index 28f2ab8..3849be7 100644 --- a/panoply/records.py +++ b/panoply/records.py @@ -51,5 +51,5 @@ def normalize_data(data): def get_iso_string() -> str: - now = datetime.now() + now = datetime.utcnow() return f"{now.isoformat(timespec='milliseconds')}Z"