Skip to content

Commit 2dd7895

Browse files
committed
CLN: remove unnecesary get_dst_info
1 parent d7d233a commit 2dd7895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/conversion.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ cdef _TSObject convert_datetime_to_tsobject(datetime ts, object tz,
385385
else:
386386
obj.value = pydatetime_to_dt64(ts, &obj.dts)
387387
# GH 24329 Take DST offset into account
388-
# use get_dst_info to get type
388+
# use dateutil.tz.tzfile to check type
389389
if ts.tzinfo is not None:
390390
trans, deltas, typ = get_dst_info(ts.tzinfo)
391391
if isinstance(ts.tzinfo, _dateutil_tzfile):

0 commit comments

Comments
 (0)