Closed JacobHenner closed 5 years ago
Thanks for PR, I'll happily merge this, but it's failing builds in 2.7. fix that and I'll merge.
ValueError: 'z' is a bad directive in format '%Y-%m-%dT%H:%M:%S%z'
also, this hasn't been touched in ages, I'm amazed it works.
Sounds good, I'll try to fix sometime tomorrow. Thanks!
Fixed to accommodate both Python 2 and Python 3. datetime objects are set as UTC.
This should be good, now.
Would still love to see this merged in if you're interested :smiley:
Resolves the
TODO
in alert.py, adds datetime support to _ts_parse()