Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set modified time of generated pdf equal to related article #14

Merged

Conversation

wombelix
Copy link
Collaborator

@wombelix wombelix commented Jun 9, 2023

@justinmayer PDFs will always re-generated, so far the modified time changed always and was identical as the creation time. With this PR, the modified time will set to date from the related article, if set. Result are PDFs with identical size and mtime if the Article wasn't changed, makes it easier to identify and sync real changes.

Copy link
Contributor

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for the enhancement, Dominik! 🥇

@justinmayer justinmayer merged commit fb6a2de into pelican-plugins:main Jul 3, 2023
7 checks passed
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.

None yet

2 participants