Update: Support Ajax and Form Post for Finance

This commit is contained in:
Gary Sharp
2013-03-26 14:42:58 +11:00
parent e422bf163d
commit 9eaae3193f
27 changed files with 495 additions and 368 deletions
@@ -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
+2 -2
View File
@@ -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")]