mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Switched date operations to utc
This commit is contained in:
parent
f931a375cf
commit
4752d12aaa
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user