Skip to content

Commit 241747b

Browse files
committed
Include time on Excel export
1 parent 58b0f55 commit 241747b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Build/CommonAssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
//
1616
// You can specify all the values or you can default the Revision and Build Numbers
1717
// by using the '*' as shown below:
18-
[assembly: AssemblyVersion("1.8.5")]
19-
[assembly: AssemblyFileVersion("1.8.5")]
18+
[assembly: AssemblyVersion("1.8.6")]
19+
[assembly: AssemblyFileVersion("1.8.6")]
2020
//[assembly: AssemblyInformationalVersion("1.4.5-editlyalpha2")]

Griddly.Mvc/GriddlyExcelResult.cs

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public override void ExecuteResult(ControllerContext context)
6060
{
6161
if (columns[x].Format == "d")
6262
cell.Style.Numberformat.Format = "mm/dd/yyyy";
63+
else
64+
cell.Style.Numberformat.Format = "mm/dd/yyyy hh:mm";
6365

6466
cell.Style.HorizontalAlignment = ExcelHorizontalAlignment.Right;
6567
}

0 commit comments

Comments
 (0)