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:
parent
c270d7ed4e
commit
fe99d4c261
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue