Historically, kojihub has never returned any datetime objects. We originally used PyGreSQL, which returned date fields as iso strings. With the switch to psycopg2, we started getting datetime objects from our queries. Our initial workaround for that involved a little bit of low level mangling in psycopg2.extensions that could sometimes cause mysterious errors. This alternate solution is more straightforward.
Historically, kojihub has never returned any datetime objects. We originally used PyGreSQL, which returned date fields as iso strings. With the switch to psycopg2, we started getting datetime objects from our queries. Our initial workaround for that involved a little bit of low level mangling in psycopg2.extensions that could sometimes cause mysterious errors. This alternate solution is more straightforward.