Use Clock.Now (time-zone aware) for Expired badge in Meows list

This commit is contained in:
2026-08-23 00:07:40 +10:00
parent 25f4e7e9c5
commit ca989cc25b
+1 -1
View File
@@ -36,7 +36,7 @@
{
<span class="text-muted">—</span>
}
else if (slide.ExpiresAt.Value <= DateTime.Now)
else if (slide.ExpiresAt.Value <= Clock.Now)
{
<span class="badge bg-danger" title="@slide.ExpiresAt.Value.ToString("dd MMM yyyy HH:mm")"><i class="bi bi-clock-history me-1"></i>Expired</span>
}