Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Fix strftime format string #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix strftime format string #1

wants to merge 2 commits into from

Conversation

alexandreteles
Copy link
Member

Lines 28 and 29 that were using .strftime('%s') where it should be written as .strftime('%S'). This error would make twint fail with an Invalid format string when using time-related configurations like Since and Until.

Lines 28 and 29 that were using `.strftime('%s')` where it should be written as `.strftime('%S')`. This error would make twint fail with an `Invalid format string` when using time-related configurations like `Since` and `Until`.
As we are looking for the timestamp version of the provided date/time string, using `timestamp()` should be more straightforward and shouldn't create any incompatibility issues as twint already requires Python >= 3.6
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