-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect date format in excel sheets 2 & 3 from ZDEMO_EXCEL24 (SAP_BASIS 756)? #1179
Comments
I guess you must be right. Let me check why it doesn't work anymore. It will probably take me a few days... |
Hello, currently the worksheet methods get_default_excel_date_format and get_default_excel_time_format for example are used in zcl_excel_converter->set_cell_format but not in zcl_excel_worksheet->set_cell (lines 4058 and 4073 in current zcl_excel_worksheet's source code. |
Thank you @darnoc312. Getting the default date/time prior to testing the style formats worked a treat. |
The calls to I'm a little disappointed that One possible fix could be to add a new parameter to Any opinion? |
When running ZDEMO_EXCEL24 in a 7.56 system, worksheets number 2 and 3 should have the date format YYYYMMDD and YYYY/MM/DD respectively I think.
However when I execute this program the date format is excel's default DD/MM/YYYY. I have also downloaded the excel file from SMW0 and that has the same issue.
Have I interpreted the demo purpose incorrectly?
Reference lines in ZDEMO_EXCEL24: https://github.com/abap2xlsx/demos/blob/d3b82106f41cf5bd04a8967d62ab33585e96ccd7/src/zdemo_excel24.prog.abap#L51-L72
The text was updated successfully, but these errors were encountered: