This commit is contained in:
@@ -53,7 +53,10 @@ namespace AyaNova.Api.Controllers
|
||||
<pre>{AySchema.currentSchema.ToString()}</pre>
|
||||
<h4>Server time</h4>
|
||||
<pre>{DateUtil.ServerDateTimeString(System.DateTime.UtcNow)}</pre>
|
||||
<pre>{TimeZoneInfo.Local.Id}</pre>
|
||||
<pre>{TimeZoneInfo.Local.Id}</pre>
|
||||
<pre>Test datetime.now to string {System.DateTime.Now.ToString()}</pre>
|
||||
<pre>Test datetime.UtcNow to string {System.DateTime.UtcNow.ToString()}</pre>
|
||||
<pre>Test datetime.Now then converted to universaltime then to string {System.DateTime.Now.ToUniversalTime().ToString()}</pre>
|
||||
<h4>Server logs</h4>
|
||||
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
||||
</div>
|
||||
|
||||
@@ -380,7 +380,7 @@ namespace AyaNova
|
||||
// ******************** TESTING WIPE DB *****************************
|
||||
//
|
||||
//Set this to true to wipe the db and reinstall a trial license and re-seed the data
|
||||
var TESTING_REFRESH_DB = true;//#############################################################################################
|
||||
var TESTING_REFRESH_DB = false;//#############################################################################################
|
||||
|
||||
#if (DEBUG)
|
||||
//TESTING
|
||||
|
||||
@@ -841,7 +841,7 @@ namespace AyaNova.Biz
|
||||
}
|
||||
private static DateTime MaxMilliseconds(DateTime d)
|
||||
{
|
||||
if (d.Millisecond == 0) return d;
|
||||
if (d.Millisecond == 999) return d;
|
||||
return new DateTime(d.Year, d.Month, d.Day, d.Hour, d.Minute, d.Second, 999, DateTimeKind.Utc);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user