From a6d127a903978e01a42081e092bbadf2b77d0aa3 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 22 Dec 2023 13:48:46 -0500 Subject: [PATCH] fix: fixed utils.convert_datetime_to_str --- pyzipline/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzipline/utils.py b/pyzipline/utils.py index 2904f6f..e7ab53f 100644 --- a/pyzipline/utils.py +++ b/pyzipline/utils.py @@ -21,4 +21,4 @@ def convert_datetime_to_str(datetime: datetime) -> str: Returns: str: Converted date string """ - return datetime.now().strftime('%Y-%m-%dT%H:%M:%S.%fZ') + return datetime.strftime('%Y-%m-%dT%H:%M:%S.%f+00:00')