Skip to content

Commit

Permalink
Update checker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszCichecki committed Jun 25, 2022
1 parent 028676e commit 44ae97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LenovoLegionToolkit.Lib/Utils/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task<bool> Check()
var updates = releases
.Where(r => !r.Draft)
.Where(r => !r.Prerelease)
.Where(r => (r.PublishedAt ?? r.CreatedAt) >= thisBuildDate)
.Where(r => (r.PublishedAt ?? r.CreatedAt).UtcDateTime >= thisBuildDate)
.Select(r => new Update(r))
.Where(r => r.Version > thisReleaseVersion)
.OrderByDescending(r => r.Version)
Expand Down

0 comments on commit 44ae97f

Please sign in to comment.