fix deploy.py (#2258)

This commit is contained in:
Cheick Keita 2022-08-16 10:51:18 -07:00 committed by GitHub
parent 8738ef0044
commit 643e61e0fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
),
}
}