From 775fb69a82a4be49b33d49b696eb0ed3c9b78cfc Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 1 Aug 2016 23:57:09 -0400 Subject: [PATCH] Use DateTime.Now for background date --- src/iOS.Extension/SiteListViewController.cs | 2 +- src/iOS/AppDelegate.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iOS.Extension/SiteListViewController.cs b/src/iOS.Extension/SiteListViewController.cs index d6f92d9a9..a463395e7 100644 --- a/src/iOS.Extension/SiteListViewController.cs +++ b/src/iOS.Extension/SiteListViewController.cs @@ -163,7 +163,7 @@ namespace Bit.iOS.Extension return; } - Resolver.Resolve().AddOrUpdateValue(App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow); + Resolver.Resolve().AddOrUpdateValue(App.Constants.SettingLastBackgroundedDate, DateTime.Now); var item = _tableItems.ElementAt(indexPath.Row); if(item == null) diff --git a/src/iOS/AppDelegate.cs b/src/iOS/AppDelegate.cs index 3e317c8b7..8ccf6baec 100644 --- a/src/iOS/AppDelegate.cs +++ b/src/iOS/AppDelegate.cs @@ -138,7 +138,7 @@ namespace Bit.iOS // Log the date/time we last backgrounded - Settings.AddOrUpdateValue(Bit.App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow); + Settings.AddOrUpdateValue(Bit.App.Constants.SettingLastBackgroundedDate, DateTime.Now); base.DidEnterBackground(uiApplication); Debug.WriteLine("DidEnterBackground");