mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-05 17:56:18 +00:00
display news date
This commit is contained in:
@@ -111,7 +111,7 @@ namespace MediaBrowser.Server.Implementations.News
|
||||
{
|
||||
var info = _fileSystem.GetFileSystemInfo(path);
|
||||
|
||||
if (!info.Exists || (DateTime.UtcNow - _fileSystem.GetLastWriteTimeUtc(info)).TotalHours > 24)
|
||||
if (!info.Exists || (DateTime.UtcNow - _fileSystem.GetLastWriteTimeUtc(info)).TotalHours > 12)
|
||||
{
|
||||
var requestOptions = new HttpRequestOptions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user