From fe99d4c26190e8c42a603c5f54ed64d899309b68 Mon Sep 17 00:00:00 2001 From: Devon Campbell Date: Tue, 29 Nov 2022 19:55:21 -0800 Subject: [PATCH] Remove makeRfc882Date One, this isn't the right date format for my feed. Two, these functions are already provided by Eleventy's RSS plugin. Doh! --- .eleventy.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 1395cf3..0a80f32 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -15,8 +15,6 @@ module.exports = function (eleventyConfig) { "node_modules/simpledotcss/simple.css": "css/simple.css", }); - eleventyConfig.addFilter("makeRfc822Date", function (value) { - return new Date(value).toUTCString(); }); eleventyConfig.addFilter("formatDatetimeForHumans", function (value) { const dt = new Date(value);