Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except isn't datetime.now() still going to return a tz-naive datetime? I would much rather have a method that requires an explicit tz, or explicitly uses UTC (like utcnow, but with the right return type).

Looking for this mistake in code reviews gets really old.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: