forecasts.full_text_forecast breaks from timezone issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Earth |
New
|
High
|
Unassigned |
Bug Description
In [4]: forecasts.
-------
ValueError Traceback (most recent call last)
/Users/
/Users/
846 expires = datetime(
847 int(dl[16:18]), int(dl[18:20]))
--> 848 issued = datetime.
849 text = '\n'.join(
850 return {'issued_date': issued,
/sw/lib/
328 if not found:
329 raise ValueError("time data did not match format: data=%s fmt=%s" %
--> 330 (data_string, format))
331 if len(data_string) != found.end():
332 raise ValueError(
ValueError: time data did not match format: data=1009 PM CST WED FEB 25 2009 fmt=%I%M %p %Z %a %b %d %Y
I've messed with this issue a little bit before, but hadn't fixed it yet. I know it has something to do with the timezone names -- CDT versus CST. I think we just need to swap over to dateutil for anything TZ.
Related branches
Changed in python-earth: | |
importance: | Undecided → High |