Explorar o código

display news date

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
3b4491b0b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Server.Implementations/News/NewsService.cs

+ 1 - 1
MediaBrowser.Server.Implementations/News/NewsService.cs

@@ -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
                 {