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!
This commit is contained in:
Devon Campbell 2022-11-29 19:55:21 -08:00
commit fe99d4c261

View file

@ -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);