From 4665997ffeebf5e1f09d5ac3bf47d52e490e6108 Mon Sep 17 00:00:00 2001 From: antonellopasella-kedos <86659150+antonellopasella-kedos@users.noreply.github.com> Date: Wed, 21 Jul 2021 10:40:19 +0200 Subject: [PATCH] ISO8601 format As of this issue https://github.com/blockchain-certificates/cert-tools/issues/48 and the PR https://github.com/blockchain-certificates/cert-tools/pull/49 (paused for Python3 concerns) I proposte this PR to only put the correct datetime format without any Python3 upgrade --- cert_tools/helpers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cert_tools/helpers.py b/cert_tools/helpers.py index 916939b..dbb3a8e 100644 --- a/cert_tools/helpers.py +++ b/cert_tools/helpers.py @@ -57,5 +57,4 @@ def encode(num, alphabet=BASE62): def create_iso8601_tz(): - ret = datetime.now(timezone.utc).isoformat()[:-13]+'Z' - return ret.isoformat() \ No newline at end of file + return datetime.now(timezone.utc).isoformat()[:-13]+'Z'