gitflow-hotfix-stash: ios_problems

This commit is contained in:
ostertun
2020-10-21 16:26:02 +02:00
parent fa4770e12a
commit 92a11bcfa5
4 changed files with 24 additions and 14 deletions

View File

@@ -66,7 +66,7 @@ var siteScript = async function() {
lastYear.setFullYear(lastYear.getFullYear() - 1);
for (var n in news) {
var newsEntry = news[n];
newsEntry.date = new Date(Date.parse(newsEntry.date));
newsEntry.date = parseDbTimestamp(newsEntry.date);
if (newsEntry.date > now) continue;
if (newsEntry.date < lastYear) break;
newsEntry.unread = (newsEntry.date > newsRead);