I upgraded from version 3.1 to 4.0 and when using Cell[].Text on a date field it returns a number instead of the date.
I found that in ExcelRangeBase.cs - GetFormattedText the line
var nfID = styles.CellXfs[StyleID].NumberFormatId;
is what is different from ver 3 to ver 4. In ver 3 StyleID returns a 1 in ver 4 StyleID returns a 0
I've downloaded the latest source from Feb 1, 2015 and the problem still exists.
I've attached the sample code that creates a tab delimited file.
Comments: Fixed in changeset 742c20497aa5
I found that in ExcelRangeBase.cs - GetFormattedText the line
var nfID = styles.CellXfs[StyleID].NumberFormatId;
is what is different from ver 3 to ver 4. In ver 3 StyleID returns a 1 in ver 4 StyleID returns a 0
I've downloaded the latest source from Feb 1, 2015 and the problem still exists.
I've attached the sample code that creates a tab delimited file.
Comments: Fixed in changeset 742c20497aa5