Fix CFP close date missing the month#141
Merged
Merged
Conversation
The homepage key-facts bar showed "31 2026" instead of "31 July 2026" for the CFP closing date. Root cause: the site locale was "en-IE", whose CLDR dataset in Hugo lacks abbreviated month names. Any abbreviated month format (e.g. "Jan") rendered an empty string. "en-GB" has the same gap. - hugo.toml: set locale to "en" so both abbreviated and full month formats work, keeping English with day/month ordering - layouts/index.html: use "2 January 2006" for the CFP close date, matching the format already used on the CFP and key-questions pages
✅ Deploy Preview for pycon-ireland-2026 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On the homepage key-facts bar, the CFP closing date rendered as
31 2026(with the month missing) instead of31 July 2026.Root cause
The site
localewas set toen-IE, whose CLDR dataset bundled with Hugo is missing abbreviated month names. As a result, any abbreviated month format token (e.g.Jan) renders an empty string.en-GBhas the same gap;enanden-USwork correctly.Changes
hugo.toml: changelocalefromen-IEtoen, so both abbreviated and full month formats work. Stays English with day/month ordering (the order is enforced by the Go layout string, not the locale).layouts/index.html: use"2 January 2006"for the CFP close date, consistent with the format already used on the CFP and key-questions pages.Verification
After the fix the homepage renders
closes 31 July 2026and the CFP page rendersOpens 25 May 2026/Deadline 31 July 2026.