This commit is contained in:
2023-05-30 17:34:56 +08:00
parent e728c66786
commit 9da1c4cf30
194 changed files with 10680 additions and 9060 deletions

View File

@ -97,7 +97,7 @@ namespace IronIntel.Contractor
}
else if (DataType == CellDataType.Date)
{
ft = "MM-dd-yyyy";
ft = "M-d-yyyy";
}
else if (DataType == CellDataType.Bool)
{

View File

@ -228,7 +228,7 @@ namespace IronIntel.Contractor.ExportExcel
CellFormat cf = (CellFormat)stylepart.Stylesheet.CellFormats.ElementAt((int)cell.StyleIndex.Value);
if (cf.NumberFormatId >= 14 && cf.NumberFormatId <= 22)//Date
{
value = DateTime.FromOADate(d).ToString("MM/dd/yyyy");
value = DateTime.FromOADate(d).ToString("M/d/yyyy");
}
}
}