aboutsummaryrefslogtreecommitdiff
path: root/juick-rss/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-rss/src/main/java/com')
-rw-r--r--juick-rss/src/main/java/com/juick/rss/MessagesView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-rss/src/main/java/com/juick/rss/MessagesView.java b/juick-rss/src/main/java/com/juick/rss/MessagesView.java
index b98e1d93..146641c5 100644
--- a/juick-rss/src/main/java/com/juick/rss/MessagesView.java
+++ b/juick-rss/src/main/java/com/juick/rss/MessagesView.java
@@ -43,6 +43,7 @@ import javax.servlet.http.HttpServletResponse;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Collections;
+import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@@ -110,7 +111,7 @@ public class MessagesView extends AbstractRssFeedView {
description.setType("text/html");
description.setValue(messageDescription);
item.setDescription(description);
- item.setPubDate(msg.getDate());
+ item.setPubDate(Date.from(msg.getTimestamp()));
item.setComments(messageUrl);
msg.getTags().stream().map(t -> {
Category category = new Category();