From 0b6d1c6d787c8bb6335b87dde05086318009ea43 Mon Sep 17 00:00:00 2001 From: Daeho Ro Date: Sat, 4 Jul 2026 22:59:47 +0900 Subject: [PATCH] Localized post dates to respect the publication language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue - Post and post card dates were hardcoded to `DD MMM YYYY`, which ignores the site's publication language: only the month name was translated, leaving Western day-month-year ordering in every non-English locale - Dropped the explicit format so the `date` helper falls back to its locale-aware default (`ll`), rendering the whole date — order, separators and month name — according to the site's Publication Language - Left the machine-readable ISO value on the `datetime` attribute untouched --- partials/post-card.hbs | 2 +- post.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/partials/post-card.hbs b/partials/post-card.hbs index 35dfabfd1..08824dded 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -39,7 +39,7 @@ {{{t "By {authors}" authors=(authors autolink="false" separator=", ") }}} {{/if}} {{#if @custom.show_publish_date}} - + {{/if}} diff --git a/post.hbs b/post.hbs index 5da34039a..dc74d978f 100644 --- a/post.hbs +++ b/post.hbs @@ -34,7 +34,7 @@