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

utcnow() works better on windows/dev_appserver for __make_sid #33

Open
sbonham2003 opened this issue Jan 19, 2012 · 0 comments
Open

utcnow() works better on windows/dev_appserver for __make_sid #33

sbonham2003 opened this issue Jan 19, 2012 · 0 comments

Comments

@sbonham2003
Copy link

dev_appserver returns local time on windows when datetime.datetime.now() is called in __make_sid. This caused cookies to expire incorrectly since local time is formatted with the required GMT substring. I found that using datetime.datetime.utcnow() solved this.

Apparently, this is not a problem on Appserver production since google use UTC in the cloud.

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

No branches or pull requests

1 participant