Open akobberup opened 6 months ago
I encountered the same issue. Setting the style both with ColumeStyleSetter and StyleSetter (on each cell) worked in both Excel and LibreOffice For instance :
ws.style(row, column).format(date_format).set();
ws.style(column).format(date_format).set();
I create a file with 4 columns formatted as datetime, date, number and decimal.
When opening in excel (online) the columns are not formatted:
When opening in libreoffice it works.
If i open the file in libreoffice and saves it, then the formatting will work in excel when opened there.
Here is the styling routine i use:
Edit: Just to clarify, I'm danish, and we use period for thousand separator and comma as decimal separator :)
test5581114334280939970.xlsx