Skip to content

Commit 6ab62da

Browse files
committed
fix ci
1 parent 8650b6f commit 6ab62da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/parsing.pyx

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

939939
# same default used by dateutil
940-
default = datetime.now().replace(hour=0, minute=0, second=0, microsecond=0)
940+
default = datetime.now().replace(day=1, hour=0, minute=0, second=0, microsecond=0)
941941
try:
942942
parsed_datetime = dateutil_parse(
943943
dt_str,

0 commit comments

Comments
 (0)