From 643e61e0fd20d82a6e6be9d9c47bf6ac0cbfe0dc Mon Sep 17 00:00:00 2001 From: Cheick Keita Date: Tue, 16 Aug 2022 10:51:18 -0700 Subject: [PATCH] fix deploy.py (#2258) --- src/deployment/deploylib/registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deployment/deploylib/registration.py b/src/deployment/deploylib/registration.py index 8691c0172..9e5c35049 100644 --- a/src/deployment/deploylib/registration.py +++ b/src/deployment/deploylib/registration.py @@ -367,10 +367,10 @@ def add_application_password_impl( password_request = { "passwordCredential": { "displayName": "%s" % password_name, - "startDateTime": "%s" % datetime.now(TZ_UTC).strftime("%Y-%m-%dT%H:%M.%fZ"), + "startDateTime": "%s" % datetime.now(TZ_UTC).strftime("%Y-%m-%dT%H:%M:%SZ"), "endDateTime": "%s" % (datetime.now(TZ_UTC) + timedelta(days=365)).strftime( - "%Y-%m-%dT%H:%M.%fZ" + "%Y-%m-%dT%H:%M:%SZ" ), } }