Skip to content

🐛 fix: use full month name in non-English long date - #690

Merged
welpo merged 2 commits into
mainfrom
fix/long-date-abbreviated-month
Aug 8, 2026
Merged

🐛 fix: use full month name in non-English long date#690
welpo merged 2 commits into
mainfrom
fix/long-date-abbreviated-month

Conversation

@welpo

@welpo welpo commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

Fix the non-English long date fallback so it spells out the month name instead of abbreviating it.

Related issue

Resolves #689

Changes

templates/macros/format_date.html's non-en_GB fallback used %b (abbreviated month) for both short=true and short=false, so the long form only differed from the short form by day zero-padding (8 nov 2024 vs 08 nov 2024). The en_GB fallback a few lines above already uses %B for the long form, and config.toml's own comment documents %d %B %Y as the intended non-English default. Changed the long-form fallback to use %B.

Type of change

  • Bug fix (fixes an issue without altering functionality)
  • New feature (adds non-breaking functionality)
  • Breaking change (alters existing functionality)
  • UI/UX improvement (enhances user interface without altering functionality)
  • Refactor (improves code quality without altering functionality)
  • Documentation update
  • Other (please describe below)

Checklist

  • I have verified the accessibility of my changes
  • I have tested all possible scenarios for this change
  • I have updated theme.toml with a sane default for the feature
  • I have updated config.toml in tabi-start
  • I have made corresponding changes to the documentation:
    • Updated config.toml comments
    • Updated theme.toml comments
    • Updated "Mastering tabi" post in English
    • (Optional) Updated "Mastering tabi" post in Spanish
    • (Optional) Updated "Mastering tabi" post in Catalan

welpo added 2 commits August 8, 2026 23:53
config.title | safe bypassed Tera's auto-escaping, so a bare & in the
site title produced invalid XML. Route it through escape_xml first,
matching the rest of this template.
The non-en_GB fallback in format_date used %b (abbreviated month) for
both the short and long formats, so long dates only differed from
short ones by day zero-padding. The en_GB fallback already uses %B
for long dates, and config.toml documents %d %B %Y as the intended
non-English default.

Resolves #689
@netlify

netlify Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploy Preview for tabi-demo ready!

Name Link
🔨 Latest commit 9026400
🔍 Latest deploy log https://app.netlify.com/projects/tabi-demo/deploys/6a77a8b127675000099d671f
😎 Deploy Preview https://deploy-preview-690--tabi-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@welpo welpo added the bug Something isn't working label Aug 8, 2026
@welpo welpo changed the title 🐛 fix(dates): use full month name in non-English long date fallback 🐛 fix: use full month name in non-English long date Aug 8, 2026
@welpo
welpo merged commit 25d257a into main Aug 8, 2026
7 of 8 checks passed
@welpo
welpo deleted the fix/long-date-abbreviated-month branch August 8, 2026 22:13
github-actions Bot added a commit to welpo/tabi-start that referenced this pull request Aug 10, 2026
Updating `themes/tabi` from 39399c4 to 2ec1c85.

### Changelog

- ⬆️ chore(deps): upgrade KaTeX to v0.18.2 ([#691](welpo/tabi#691)) [2ec1c85](welpo/tabi@2ec1c85)
- 🐛 fix: use full month name in non-English long date ([#690](welpo/tabi#690)) [25d257a](welpo/tabi@25d257a)
- 🐛 fix(feed): escape ampersands in Atom feed title ([#688](welpo/tabi#688)) [8241c4b](welpo/tabi@8241c4b)
- 🐛 fix(taxonomies): improve custom taxonomies support ([#686](welpo/tabi#686)) [a82ad06](welpo/tabi@a82ad06)
- 🐛 fix(footnotes): fix incorrect backlinks script url [3f509e3](welpo/tabi@3f509e3)
- 🐛 fix(webmentions): respect multiple webmention options ([#684](welpo/tabi#684)) [e6bdcff](welpo/tabi@e6bdcff)
- 🐛 fix(comments): fix Isso sharing one thread when page_id_is_slug is false ([#682](welpo/tabi#682)) [52e8233](welpo/tabi@52e8233)
- 🔒 fix(webmentions): escape and sanitise reply/mention content ([#679](welpo/tabi#679)) [cc9560f](welpo/tabi@cc9560f)
- 🐛 fix(webmentions): fix malformed HTML ([#677](welpo/tabi#677)) [7599919](welpo/tabi@7599919)
- 🐛 fix(series): use aria-label instead of aria_label in navigation links ([#675](welpo/tabi#675)) [9a73407](welpo/tabi@9a73407)
- ⬆️ chore(deps): update shalzz/zola-deploy-action action to v0.23.1 ([#663](welpo/tabi#663)) [28127cd](welpo/tabi@28127cd)
- 🐛 fix: respect saved theme on OS theme change ([#673](welpo/tabi#673)) [d0bb53b](welpo/tabi@d0bb53b)
- 🐛 fix(series): fix reversed pagination not reordering series pages ([#671](welpo/tabi#671)) [b426a9d](welpo/tabi@b426a9d)
- 🐛 fix: fix root-section pagination showing every post ([#669](welpo/tabi#669)) [a244395](welpo/tabi@a244395)
- 🐛 fix(search): fix listener leak on search results ([#667](welpo/tabi#667)) [67b9971](welpo/tabi@67b9971)
- 🐛 fix(search): fix result count after first search ([#665](welpo/tabi#665)) [523b817](welpo/tabi@523b817)
- ⬆️ chore(deps): upgrade mermaid to v11.16.1 ([#662](welpo/tabi#662)) [c0a2907](welpo/tabi@c0a2907)
- 📝 docs(toc): link archived Tera docs for matching test [c08316f](welpo/tabi@c08316f)

### Miscellaneous changes

- ⏪️ misc: revert shalzz/zola-deploy-action upgrade ([#663](welpo/tabi#663)) [2e86b53](welpo/tabi@2e86b53)

Auto-generated by the "Update tabi theme" workflow (in `.github/workflows/update-tabi.yml`).
This was referenced Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long-form date format uses abbreviated month for non-English locales

1 participant