projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9f0b4
)
Improve formatting in Client._make_request
author
Harmon
<Harmon758@gmail.com>
Wed, 22 Dec 2021 21:35:58 +0000
(15:35 -0600)
committer
GitHub
<noreply@github.com>
Wed, 22 Dec 2021 21:35:58 +0000
(15:35 -0600)
tweepy/client.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/client.py
b/tweepy/client.py
index 9f7ee600ca52c9e2fcc93ca7c166ccfdc9a1016f..10acdc574933a7acbfb6bfed599b47adf97a6c39 100644
(file)
--- a/
tweepy/client.py
+++ b/
tweepy/client.py
@@
-156,7
+156,8
@@
class Client:
if param_value.tzinfo is not None:
param_value = param_value.astimezone(datetime.timezone.utc)
request_params[param_name] = param_value.strftime(
- "%Y-%m-%dT%H:%M:%S.%fZ")
+ "%Y-%m-%dT%H:%M:%S.%fZ"
+ )
# TODO: Constant datetime format string?
else:
request_params[param_name] = param_value