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

Fix non-standard strftime() call #13

Closed
wants to merge 1 commit into from

Conversation

zooba
Copy link

@zooba zooba commented Mar 28, 2018

The %s format string is non-standard for strftime() (see Python docs and cpp reference), which causes this sample to fail on some platforms - notably Windows.

Python includes a timestamp() method to produce the value you want here (as a float, so the conversion is still necessary).

@zooba
Copy link
Author

zooba commented Mar 28, 2018

Just saw this is the same as #11 - could someone please merge that fix?

@zooba zooba closed this Mar 28, 2018
@zooba zooba deleted the strftime-fix branch March 28, 2018 15:47
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