parsing intervals lose the UTC information
Issue #22
invalid
Parsing any of the following examples loses the time zone information:
- "2050-03-01T13:00:00Z/2050-05-11T15:30:00Z"
- "2050-03-01T13:00:00Z/PT10H"
I am using the following code:
import aniso8601
from aniso8601.builder import RelativeTimeBuilder
aniso8601.parse_interval(when, builder=RelativeTimeBuilder)
And I get datetime.datetime objects without tzinfo. I guess this is a bug.
Comments (2)
-
repo owner -
repo owner - changed status to invalid
Cannot reproduce.
- Log in to comment
What version are you using? I can't reproduce: