This commit is contained in:
2018-12-04 23:10:55 +00:00
parent 2975ba980a
commit 99e9c93ca3
2 changed files with 107 additions and 5 deletions

View File

@@ -784,12 +784,12 @@ namespace AyaNova.Biz
private static void BuildBetweenTwoDatesFragment(string sColumn, StringBuilder sb, DateTime dtAfter, DateTime dtBefore)
{
sb.Append(">'");
sb.Append(PostgresDateFormat(dtAfter));
sb.Append(PostgresDateFormat(dtAfter.ToUniversalTime()));
sb.Append("' AND ");
sb.Append(sColumn);
sb.Append(" ");
sb.Append("<'");
sb.Append(PostgresDateFormat(dtBefore));
sb.Append(PostgresDateFormat(dtBefore.ToUniversalTime()));
sb.Append("'");
}