Skip to content

Fixes Windows specific Unix date formatting bug#23

Merged
pitbulk merged 2 commits intoSAML-Toolkits:masterfrom
kipparker:master
May 24, 2016
Merged

Fixes Windows specific Unix date formatting bug#23
pitbulk merged 2 commits intoSAML-Toolkits:masterfrom
kipparker:master

Conversation

@kipparker
Copy link
Copy Markdown
Contributor

Getting Unix time with strftime("%s") will only work on POSIX platforms, so not on Windows. time() is fine for both.

Comment thread src/onelogin/saml2/settings.py Outdated
@@ -9,6 +9,7 @@

"""
from datetime import datetime
Copy link
Copy Markdown
Contributor

@pitbulk pitbulk May 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove that import?, not required anymore

@pitbulk
Copy link
Copy Markdown
Contributor

pitbulk commented May 24, 2016

@kipparker Please remove the unnecessary import so I will be able to merge the PR

@kipparker
Copy link
Copy Markdown
Contributor Author

@pitbulk thanks, removed.

@pitbulk pitbulk merged commit a760361 into SAML-Toolkits:master May 24, 2016
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