Skip to content

Commit d6acdb9

Browse files
author
y-p
committed
BUG: accept timezone info when parsing string slice GH2658
missing imports
1 parent 7a9d77b commit d6acdb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tseries/tools.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ def dateutil_parse(timestr, default,
245245
ignoretz=False, tzinfos=None,
246246
**kwargs):
247247
""" lifted from dateutil to get resolution"""
248+
from dateutil import tz
249+
import time
250+
248251
res = DEFAULTPARSER._parse(StringIO(timestr), **kwargs)
249252

250253
if res is None:

0 commit comments

Comments
 (0)