diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-04 15:23:15 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-04 15:23:15 -0400 |
| commit | 4752d12aaa0aa3dcb6bb476910a7072556c70f85 (patch) | |
| tree | d8d7134c07e7d178629385727c3faee8dae3398f /MediaBrowser.Common/UI/BaseApplication.cs | |
| parent | f931a375cfa7b07e376742bb86eb08cef87d262f (diff) | |
Switched date operations to utc
Diffstat (limited to 'MediaBrowser.Common/UI/BaseApplication.cs')
| -rw-r--r-- | MediaBrowser.Common/UI/BaseApplication.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common/UI/BaseApplication.cs b/MediaBrowser.Common/UI/BaseApplication.cs index c7b2916b5..4cbc57c0d 100644 --- a/MediaBrowser.Common/UI/BaseApplication.cs +++ b/MediaBrowser.Common/UI/BaseApplication.cs @@ -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;
|
