Skip to content

Reduce risk of publishing posts with wrong date #1581

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

senekor
Copy link
Contributor

@senekor senekor commented Apr 16, 2025

The date of publication often has to be adjusted at the last minute. This can easily be forgotten. In order to reduce the risk of posts being published with an incorrect date, this commit encourages authors to keep a placeholder date until shortly before publication. A CI check prevents the deployment if a placeholder date is detected.

The placeholder date "9999/12/31" is chosen because it shows up at the top of the list of posts during development and it's clearly "invalid".

closes #567

The date of publication often has to be adjusted at the last minute.
This can easily be forgotten. In order to reduce the risk of posts with
an incorrect date being published, this commit encourages authors to
keep a placeholder date until shortly before publication. A CI check
prevents the deployment if a placeholder date is detected.

The placeholder date "9999/12/31" is chosen because it shows up at the
top of the list of posts during development and it's clearly "invalid".
@senekor senekor requested a review from Manishearth April 16, 2025 22:47
@senekor senekor merged commit 5caa789 into master Apr 16, 2025
5 checks passed
@senekor senekor deleted the senekor/check-publication-date branch April 16, 2025 22:59
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.

warning from CI when adding a new blog post with wrong date
2 participants