Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Update strftime to timestamp in token generation. #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nifled
Copy link

@Nifled Nifled commented Oct 2, 2017

dt.strftime('%s') doesn't work on Windows systems (ValueError: Invalid format string) due to %s being a Unix-based system only compatible string format for datetimes.

Using timestamp introduced in Python 3.3 is compatible with Unix and Windows-based systems and functional for the project and when using it later for connecting it to a front-end (the other real-world example projects based on Conduit).

@Nifled Nifled mentioned this pull request Oct 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant