ITbob / excellibrary

Automatically exported from code.google.com/p/excellibrary
0 stars 0 forks source link

Excellibrary cannot support user defined format such as m"月"d"日" #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.input a string "/23" into a cell
2.read the excel file. then exception thrown.

What is the expected output? What do you see instead?
exception message is "Unable to find specific cell format".

What version of the product are you using? On what operating system?
version : 1.0.0.0

Please provide any additional information below.

In CellFormatCollection.cs, during CellFormatCollection() function, add a 
statement :  
   lookupTable.Add(56, new CellFormat(CellFormatType.Date, "m'月'd'日'"));

then it seems OK.

Original issue reported on code.google.com by zhaoqian...@gmail.com on 12 Jul 2010 at 2:39

GoogleCodeExporter commented 8 years ago
I also meet this problem today,wish fit it.... 

Original comment by lemor.lee@gmail.com on 27 Sep 2011 at 3:12