Skip to content

Commit

Permalink
fix bug in RSS feed ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Dec 25, 2018
1 parent bb19152 commit c4c2bfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public String constructRss() {

List<WebPage> webPages = new ArrayList<>(urls.values());

webPages.sort(Comparator.comparing(WebPage::getLastMod));
webPages.sort(Comparator.comparing(WebPage::getLastMod).reversed());

Date latestDate = new Date();
if (!webPages.isEmpty()) {
Expand Down

0 comments on commit c4c2bfa

Please sign in to comment.