Skip to content

Commit 664d928

Browse files
committed
CLN: remove get_dst_info try 2
1 parent 2dd7895 commit 664d928

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/_libs/tslibs/conversion.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ cdef _TSObject convert_datetime_to_tsobject(datetime ts, object tz,
387387
# GH 24329 Take DST offset into account
388388
# use dateutil.tz.tzfile to check type
389389
if ts.tzinfo is not None:
390-
trans, deltas, typ = get_dst_info(ts.tzinfo)
391390
if isinstance(ts.tzinfo, _dateutil_tzfile):
392391
if ts.tzinfo.is_ambiguous(ts):
393392
dst_offset = ts.tzinfo.dst(ts)

0 commit comments

Comments
 (0)