Preserve tzinfo when parsing datetime for API v2 models
authorHarmon <Harmon758@gmail.com>
Thu, 26 Aug 2021 08:49:30 +0000 (03:49 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 26 Aug 2021 08:49:30 +0000 (03:49 -0500)
commit6d315ebf16ce941d003175a24d2cfb85ecad6da5
treeeed9155298adf6532215c41beec81724b8922ce8
parent145d7cfb902ed7bd10143e201ea89af41ba7d628
Preserve tzinfo when parsing datetime for API v2 models

Poll.end_datetime, Tweet.created_at, and User.created_at are now aware, rather than naive, datetime objects.
Resolves #1634
tweepy/poll.py
tweepy/tweet.py
tweepy/user.py