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);
|
||||
|
||||
if (!info.Exists || (DateTime.UtcNow - _fileSystem.GetLastWriteTimeUtc(info)).TotalHours > 24)
|
||||
if (!info.Exists || (DateTime.UtcNow - _fileSystem.GetLastWriteTimeUtc(info)).TotalHours > 12)
|
||||
{
|
||||
var requestOptions = new HttpRequestOptions
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user