66
It's Time For A Change: datetime.utcnow() Is Now Deprecated
(blog.miguelgrinberg.com)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
I agree.
The only use I can see for naive date times is you just read the date out of an old sql database, but it shouldn't leave the function naive, it should be converted first.
Python's timezone handling is probably my only complaint about the language. I shouldn't need to use libraries just to have timezones.