Skip to content

Commit 7bdb6d8

Browse files
committed
try fix ci
1 parent e14a9bd commit 7bdb6d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/_libs/tslibs/parsing.pyx

+1-2
Original file line numberDiff line numberDiff line change
@@ -936,8 +936,7 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None:
936936
datetime_attrs_to_format.remove(day_attribute_and_format)
937937
datetime_attrs_to_format.insert(0, day_attribute_and_format)
938938

939-
# same default used by dateutil
940-
default = datetime.now().replace(hour=0, minute=0, second=0, microsecond=0)
939+
default = datetime(1970, 1, 1)
941940
try:
942941
parsed_datetime = dateutil_parse(
943942
dt_str,

0 commit comments

Comments
 (0)