Skip to content

Fix year delimiters in releases page #1615

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
May 22, 2025
Merged

Fix year delimiters in releases page #1615

merged 1 commit into from
May 22, 2025

Conversation

senekor
Copy link
Contributor

@senekor senekor commented May 22, 2025

The previous approach to detect if a release is the last one in a year was incorrect. It checked if the following post was in the next year. However, the following post doesn't have to be a release, so the check could fail.

The result was missing year delimiters "Releases in YYYY".

A mutable variable makes it easier to track the actual year of the last rendered release post.

The previous approach to detect if a release is the last one in a year
was incorrect. It checked if the following post was in the next year.
However, the following post doesn't have to be a release, so the check
could fail.

The result was missing year delimiters "Releases in YYYY".

A mutable variable makes it easier to track the actual year of the last
rendered release post.
@senekor senekor requested a review from Manishearth May 22, 2025 20:57
@senekor senekor merged commit 6ab4ffd into master May 22, 2025
5 checks passed
@senekor senekor deleted the senekor-vmuzmspvsvwq branch May 22, 2025 21:22
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