Skip to content

Distinguish publication and updated date in feed items#43

Open
sunarch wants to merge 1 commit into
lektor:masterfrom
sunarch:pubdate-moddate
Open

Distinguish publication and updated date in feed items#43
sunarch wants to merge 1 commit into
lektor:masterfrom
sunarch:pubdate-moddate

Conversation

@sunarch

@sunarch sunarch commented May 2, 2025

Copy link
Copy Markdown

It would be useful if both published and updated dates could be added to feed items, not just the updated field.

I added the new field to the tests but wasn't able to run them properly because the current master produces FileNotFoundErrors on the feeds and that is beyond this scope.

Reference feedgenerator pubdate here:
https://github.com/django/django/blob/stable/5.2.x/django/utils/feedgenerator.py#L472

@zmberber

Copy link
Copy Markdown

is there a reason why this merge has not been accepted? seems to work fine and as intended, as well as not breaking anything else, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants