mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
display news date
This commit is contained in:
parent
f4f0602c54
commit
3b4491b0b6
@ -111,7 +111,7 @@ namespace MediaBrowser.Server.Implementations.News
|
|||||||
{
|
{
|
||||||
var info = _fileSystem.GetFileSystemInfo(path);
|
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
|
var requestOptions = new HttpRequestOptions
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user