We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dates miss tzinfo just by providing %Y-%m-%d and error gets raised:
tzinfo
%Y-%m-%d
raise ValueError('%s.tzinfo must not be None!' % varname)
Fixed it with
import pytz [...] poll_from = datetime.strptime(args.start, "%Y-%m-%d%Z").replace(tzinfo=pytz.utc)
But then only UTC can be selected. Would this be okay? Then I'll submit this as PR.
Kind regards!
The text was updated successfully, but these errors were encountered:
oh goodie timezones, my favourite
gimme 5 I'll fix it
Sorry, something went wrong.
Added --tz option in 5233759
--tz
e.g
python3 scripts/run-taxii-poll.py -s --tz Europe/London
Defaults to UTC if not provided
Thank you kindly!
No branches or pull requests
Dates miss
tzinfo
just by providing%Y-%m-%d
and error gets raised:Fixed it with
But then only UTC can be selected. Would this be okay? Then I'll submit this as PR.
Kind regards!
The text was updated successfully, but these errors were encountered: