diff --git a/resources/desktop/com.github.rssguard.appdata.xml b/resources/desktop/com.github.rssguard.appdata.xml
index ac91dc85d..c55146eea 100644
--- a/resources/desktop/com.github.rssguard.appdata.xml
+++ b/resources/desktop/com.github.rssguard.appdata.xml
@@ -24,7 +24,7 @@
https://github.com/sponsors/martinrotter
-
+
none
diff --git a/src/librssguard/core/message.cpp b/src/librssguard/core/message.cpp
index f60db162e..750639c1d 100644
--- a/src/librssguard/core/message.cpp
+++ b/src/librssguard/core/message.cpp
@@ -98,10 +98,9 @@ void Message::sanitize(const Feed* feed, bool fix_future_datetimes) {
// Fix datetimes in future.
if ((fix_future_datetimes && m_createdFromFeed && m_created.toUTC() > QDateTime::currentDateTimeUtc()) ||
- (m_createdFromFeed && !m_created.isValid())) {
+ (m_createdFromFeed && (!m_created.isValid() || m_created.toSecsSinceEpoch() < 0))) {
qWarningNN << LOGSEC_CORE << "Fixing date of article" << QUOTE_W_SPACE(m_title) << "from invalid date/time"
<< QUOTE_W_SPACE_DOT(m_created);
-
m_createdFromFeed = false;
m_created = QDateTime::currentDateTimeUtc();
}