You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your issue. The type of the cell inner spreadsheet has some differences between Microsoft Excel and Libre Office Calc, the type of numeric cell value will be ignored sometimes in the Excel, so you will get the CellTypeUnset, and normally, the date/time will be stored as numeric in Excel and LibreCalc, the value will apply number format style and show as a date text when you're open the spreadsheet, so you will get the CellTypeUnset or CellTypeNumber for that. I think the GetCellType should return the original type of the cell, the developer can be cast the cell type by them selfs.
xuri
changed the title
对数字或日期类型的数据使用GetCellType()但得到的结果不正确
GetCellType retunrned Cell type is different in xlsx created by Excel and LibreCalc
Oct 24, 2021
Description
在Excel或LibreOffice编辑的xlsx文件中,对数字或日期类型的数据使用
GetCellType()
但得到的结果不正确,且两个软件编辑的xlsx文件返回的结果还不一样。Steps to reproduce the issue:
A
1
100
2
abc
3
TRUE
4
2021-10-1
5
1000.1
6
=1/0
Describe the results you received:
当我不使用Excel而使用LibreOffice写入, 结果为:
Describe the results you expected:
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
macOS 11.6 (M1)
Microsoft Excel 16.54
LibreOffice 7.2.1.2 / LibreOffice Community (Build ID: 87b77fad49947c1441b67c559c339af8f3517e22)
The text was updated successfully, but these errors were encountered: