File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 15
15
//
16
16
// You can specify all the values or you can default the Revision and Build Numbers
17
17
// by using the '*' as shown below:
18
- [ assembly: AssemblyVersion ( "1.8.6 " ) ]
19
- [ assembly: AssemblyFileVersion ( "1.8.6 " ) ]
18
+ [ assembly: AssemblyVersion ( "1.8.7 " ) ]
19
+ [ assembly: AssemblyFileVersion ( "1.8.7 " ) ]
20
20
//[assembly: AssemblyInformationalVersion("1.4.5-editlyalpha2")]
Original file line number Diff line number Diff line change @@ -58,10 +58,11 @@ public override void ExecuteResult(ControllerContext context)
58
58
59
59
if ( renderedValue as DateTime ? != null )
60
60
{
61
- if ( columns [ x ] . Format == "d" )
62
- cell . Style . Numberformat . Format = "mm/dd/yyyy" ;
63
- else
61
+ if ( columns [ x ] . Format == "f" || columns [ x ] . Format == "F"
62
+ || columns [ x ] . Format == "g" || columns [ x ] . Format == "G" )
64
63
cell . Style . Numberformat . Format = "mm/dd/yyyy hh:mm" ;
64
+ else
65
+ cell . Style . Numberformat . Format = "mm/dd/yyyy" ;
65
66
66
67
cell . Style . HorizontalAlignment = ExcelHorizontalAlignment . Right ;
67
68
}
You can’t perform that action at this time.
0 commit comments