feed
feed copied to clipboard
Date Format
Hi, how can the pubDate can be in ISO-8601 format?
when I try to addItem
with string in the date field I get a typescript error.
Same issue here. Need to change the format to "Month Day, Year". Is there a way of configuring the format that Date will be parsed to?
Hi.
You probably don't want to do that. Date formats are defined per spec of each feed.
The fact that this package uses a single format for all is not correct, but there is no need to ever use ISO-8601.
rss2() returns this format for me
<pubDate>Tue, 25 Jul 2023 00:00:00 GMT</pubDate>