Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Commented Unassigned: Date Format Not Working When LoadFromDataTable [15188]

$
0
0
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

Viewing all articles
Browse latest Browse all 2262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>