dylang / dylang/node-rss

pubDate should not use .toGMTString()

Open
#90 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

1. The function is [officially deprecated](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString)
1. There doesn't seem to be an "official" format of the `pubDate` field, and if there is, it's not widely supported / adopted. [Some providers](https://mailchimp.com/help/troubleshooting-rss-in-campaigns/) require pubDate be formatted according to rfc 2822.

Ideally, this library would let you specify a function for manipulating or setting the pubDate field.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.