VickiLanger / LGBTQ-of-the-day-bot

Twitter bot tweeting fun goofy lgbtq things and queer history of the day
https://twitter.com/LGBTQotd
GNU General Public License v3.0
80 stars 173 forks source link

resolved_incorrect_date_posted.py #301

Open geekboi777 opened 3 years ago

geekboi777 commented 3 years ago

I have mentioned the problem in the commented part of the code

basically the key was storing whole "YYYY-MM-DD"

so while checking and storing in history of events you needed to check and store key[5:]

Hope it helps!