roverdotcom/askbot-devel — pull request #3 by geekofalltrades (2014-08-12 23:40:01+00:00)
Title: Dev 1371 - Update Askbot datetimes to be timezone aware

This is a large update, but it consists mostly of find-and-replacing "datetime.datetime.now()" with "timezone.now()" and adding a tzinfo keyword argument to "datetime.datetime()" calls.

Contributability note: note that this update breaks Askbot for Django<1.4, as that's when the "timezone" module was introduced. Askbot appears to be trying to support some really ancient versions, so this change might not be accepted.

All Askbot tests are passing with these changes (except a few that are broken I ripped out followit, the