Skip to content

Commit

Permalink
fix: fix LastDownloaded time to be in universal time format
Browse files Browse the repository at this point in the history
  • Loading branch information
SenexCrenshaw committed Feb 7, 2024
1 parent 1319e08 commit 014d4df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class RefreshEPGFileRequestHandler(ILogger<RefreshEPGFileRequest> Logger,
if (success)
{
epgFile.DownloadErrors = 0;
epgFile.LastDownloaded = File.GetLastWriteTime(fullName);
epgFile.LastDownloaded = File.GetLastWriteTime(fullName).ToUniversalTime();
epgFile.FileExists = true;
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class RefreshM3UFileRequestHandler(ILogger<RefreshM3UFileRequest> Logger,
if (success)
{
m3uFile.DownloadErrors = 0;
m3uFile.LastDownloaded = File.GetLastWriteTime(fullName);
m3uFile.LastDownloaded = File.GetLastWriteTime(fullName).ToUniversalTime();
m3uFile.FileExists = true;
}
else
Expand Down

0 comments on commit 014d4df

Please sign in to comment.