Switched date operations to utc

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-04 15:23:15 -04:00
parent f931a375cf
commit 4752d12aaa
13 changed files with 81 additions and 34 deletions

View File

@@ -35,11 +35,11 @@ namespace MediaBrowser.Common.UI
try
{
DateTime now = DateTime.Now;
DateTime now = DateTime.UtcNow;
await Kernel.Init(progress);
Logger.LogInfo("Kernel.Init completed in {0} seconds.", (DateTime.Now - now).TotalSeconds);
Logger.LogInfo("Kernel.Init completed in {0} seconds.", (DateTime.UtcNow - now).TotalSeconds);
splash.Close();
this.ShutdownMode = System.Windows.ShutdownMode.OnLastWindowClose;