Pedro Rossato
Results
issues of
Pedro Rossato
[BUG] - Cells with built-in number format 17 (mmm-yy) are read as a raw double instead of DateTime
2
## Description `ExcelOpenXmlStyles` declares the built-in number format 17 (`mmm-yy`) with a non-nullable `TimeSpan`: ```csharp { 17, new NumberFormatString("mmm-yy",typeof(TimeSpan)) }, ``` `ConvertValueByStyleFormat` only converts when the format type is `typeof(DateTime?)`...
## Description `ConvertValueByStyleFormat` converts a cell value to `DateTime`/`TimeSpan` whenever the cell's number format is a date/time format and `value?.ToString()` parses as a `double`. It does not look at the...