eguneraketa

This commit is contained in:
2024-01-06 17:48:05 +01:00
parent 56f6e46c71
commit 59e1123d35
58 changed files with 31490 additions and 20922 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ impl Post {
}))?;
article.set_source(source);
article.set_published(
OffsetDateTime::from_unix_timestamp_nanos(self.creation_date.timestamp_nanos().into())
OffsetDateTime::from_unix_timestamp_nanos(self.creation_date.timestamp_nanos_opt().unwrap().into())
.expect("OffsetDateTime"),
);
article.set_summary(&*self.subtitle);