summaryrefslogtreecommitdiff
path: root/CoreWiki/Pages/LatestChanges.cshtml.cs
diff options
context:
space:
mode:
authorPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-02-10 21:24:11 +0100
committerPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-02-10 21:24:11 +0100
commit7fefe217c8462444ecb9806599e70afe2a7102ea (patch)
tree49cd108ab96a756fe67ac58f980d1385c17e09df /CoreWiki/Pages/LatestChanges.cshtml.cs
parent00c3b32e2db200a2f42396ac7f8381704ec97268 (diff)
Time display fixes
Diffstat (limited to 'CoreWiki/Pages/LatestChanges.cshtml.cs')
-rw-r--r--CoreWiki/Pages/LatestChanges.cshtml.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CoreWiki/Pages/LatestChanges.cshtml.cs b/CoreWiki/Pages/LatestChanges.cshtml.cs
index d750417..83a70ab 100644
--- a/CoreWiki/Pages/LatestChanges.cshtml.cs
+++ b/CoreWiki/Pages/LatestChanges.cshtml.cs
@@ -24,7 +24,7 @@ namespace CoreWiki.Pages
{
if (_context.Articles != null)
{
- Article = await _context.Articles.OrderByDescending(a => a.Published).Take(10).ToListAsync();
+ Article = await _context.Articles.OrderByDescending(a => a.PublishedDateTime).Take(10).ToListAsync();
}
}
}