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

@@ -131,7 +131,7 @@ namespace MediaBrowser.Model.Entities
/// </summary>
public bool IsRecentlyAdded(User user)
{
return (DateTime.Now - DateCreated).TotalDays < user.RecentItemDays;
return (DateTime.UtcNow - DateCreated).TotalDays < user.RecentItemDays;
}
public void AddPerson(PersonInfo person)