Skip to content

Commit 15aca7a

Browse files
authored
Fix CI (#46489)
1 parent b03383f commit 15aca7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/tzconversion.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ cdef const int64_t[:] _tz_convert_from_utc(const int64_t[:] stamps, tzinfo tz):
534534

535535
int64_t[::1] result
536536

537-
if is_utc(tz):
537+
if is_utc(tz) or tz is None:
538538
# Much faster than going through the "standard" pattern below
539539
return stamps.copy()
540540

0 commit comments

Comments
 (0)