Skip to content

Commit

Permalink
always a good idea to read the spec (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
riastrad authored May 31, 2024
1 parent 6224a9f commit 507ecd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = function (eleventyConfig) {
});

eleventyConfig.addFilter("rssDate", (dateObj) => {
return DateTime.fromJSDate(dateObj).toUTC().toString();
return dateObj.toUTCString();
});

eleventyConfig.addFilter("dateYear", (dateObj) => {
Expand Down

0 comments on commit 507ecd3

Please sign in to comment.