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

Standard python date library does not allow to do any sorts of operations between TZ-aware and TZ-unaware dates. You're expected to explicitly convert between the two.

Django postgresql adapter will aggressively show warnings for all of the cases where you're trying to insert a TZ-unaware date into a TZ-aware column.

Is this that hard to reproduce?



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

Search: