Closed joshgalvan closed 10 months ago
This error is also visible in my version of Chapter 11. I've copied everything by hand (mostly) to write it myself but can't find anything wrong with my code causing this to happen. Especially when comparing it to yours, it looks the same.
I also tried updating to python 3.12 and the issue still persists
What's the type of user.last_seen
?
Good catch. My User.last_seen variable was typed as str instead datetime. The pains of copying tutorials lol. Fixed!
this causes me to get the error "str object has no attribute 'strftime'"
Full stacktrace: