Update: Support Ajax and Form Post for Finance
This commit is contained in:
@@ -121,6 +121,17 @@ namespace Disco.BI.Extensions
|
||||
{
|
||||
return d.ToBinary();
|
||||
}
|
||||
public static string ToJavascriptDateTime(this DateTime d)
|
||||
{
|
||||
return d.ToString("yyyy/MM/dd hh:mm tt");
|
||||
}
|
||||
public static string ToJavascriptDateTime(this DateTime? d)
|
||||
{
|
||||
if (d.HasValue)
|
||||
return d.Value.ToString("yyyy/MM/dd hh:mm tt");
|
||||
else
|
||||
return null;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Image Extensions
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.2.0319.1534")]
|
||||
[assembly: AssemblyFileVersion("1.2.0319.1534")]
|
||||
[assembly: AssemblyVersion("1.2.0326.1428")]
|
||||
[assembly: AssemblyFileVersion("1.2.0326.1428")]
|
||||
|
||||
Reference in New Issue
Block a user