From 1b039ac06f2cd589ffc9f3b855879e68c893ffad Mon Sep 17 00:00:00 2001 From: Arthur Peixoto Melo Date: Wed, 17 May 2023 22:14:31 -0300 Subject: [PATCH] BUG: Missing date formatting parameters --- pandas/io/excel/_openpyxl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/io/excel/_openpyxl.py b/pandas/io/excel/_openpyxl.py index 195d3a3a8b263..0fa93fbd46b23 100644 --- a/pandas/io/excel/_openpyxl.py +++ b/pandas/io/excel/_openpyxl.py @@ -60,6 +60,8 @@ def __init__( super().__init__( path, + date_format=date_format, + datetime_format=datetime_format, mode=mode, storage_options=storage_options, if_sheet_exists=if_sheet_exists,