Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all DateTime objects aware #85

Merged
merged 1 commit into from
Feb 11, 2013
Merged

Make all DateTime objects aware #85

merged 1 commit into from
Feb 11, 2013

Conversation

chazapis
Copy link
Contributor

@chazapis chazapis commented Feb 4, 2013

Django versions > 1.4 will complain if the DateTime objects used are not "aware" (do not contain timezone and daylight saving time information). Changes include using django.utils.timezone.now instead of datetime.datetime.now (when available) and setting the local timezone to OAuthToken datetime variables coming in from facepy.

@jgorset
Copy link
Owner

jgorset commented Feb 11, 2013

Thanks, @chazapis!

jgorset added a commit that referenced this pull request Feb 11, 2013
Make all DateTime objects aware
@jgorset jgorset merged commit 9c98564 into jgorset:master Feb 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants