Add a fix for when timezone-aware datetimes are passed in. cc #48.