Skip to content

Commit 3f4d9a9

Browse files
author
MarcoGorelli
committed
🏷️ typing
1 parent b4f07a7 commit 3f4d9a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/tools/datetimes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def _convert_and_box_cache(
289289
from pandas import Series
290290

291291
result = Series(arg).map(cache_array)
292-
return _box_as_indexlike(result._values, utc=None, name=name)
292+
return _box_as_indexlike(result._values, utc=False, name=name)
293293

294294

295295
def _return_parsed_timezone_results(result: np.ndarray, timezones, tz, name) -> Index:

pandas/io/parsers/base_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def converter(*date_cols):
11151115
try:
11161116
return tools.to_datetime(
11171117
ensure_object(strs),
1118-
utc=None,
1118+
utc=False,
11191119
dayfirst=dayfirst,
11201120
errors="ignore",
11211121
infer_datetime_format=infer_datetime_format,

0 commit comments

Comments
 (0)