For some time now, I’ve found that my generated feeds all output dates which make it look like the items were published at 12 AM. This leads to items like notes being displayed out of order. Obviously this isn’t the case based on modification times of the files, but I’m wondering if there is a simpler way to fix it.
Looking at my feed template, I’m using {{ note.date | date: "%a, %d %b %Y %H:%M:%S %z" }}
for a note’s pubDate - which is wrong - instead of - for example - {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}
, which gives me a correct date for the entire feed. I can swap this out, but it raises a question…
Is there is a built-in filter that will output the same format or do I need to use a plugin?