From 0274df46a6da5e8ad973415d5e13199960637d29 Mon Sep 17 00:00:00 2001 From: inbargazit Date: Thu, 22 Feb 2024 13:50:34 -0800 Subject: [PATCH] Fixing date format in eg003_list_envelopes.py --- app/eSignature/examples/eg003_list_envelopes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/eSignature/examples/eg003_list_envelopes.py b/app/eSignature/examples/eg003_list_envelopes.py index 096fe4f..9685500 100644 --- a/app/eSignature/examples/eg003_list_envelopes.py +++ b/app/eSignature/examples/eg003_list_envelopes.py @@ -36,7 +36,7 @@ def worker(args): # Here we set the from_date to filter envelopes for the last month # Use ISO 8601 date format # 1. Call the envelope status change method to list the envelopes - from_date = (datetime.utcnow() - timedelta(days=30)).isoformat() + from_date = (datetime.utcnow() - timedelta(days=30)).strftime('%Y-%m-%d') results = envelope_api.list_status_changes(account_id=args["account_id"], from_date=from_date) #ds-snippet-end:eSign3Step2