From 603c181ad27109327617a78e5f672ebf68edc267 Mon Sep 17 00:00:00 2001
From: Mara-Li <lili.simonetti@outlook.fr>
Date: Mon, 29 Jan 2024 06:13:59 +0000
Subject: [PATCH] feat: allow to config a translation for date (#739)
---
quartz/components/PageList.tsx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/components/PageList.tsx b/quartz/components/PageList.tsx
index eb34f02..644e354 100644
--- a/quartz/components/PageList.tsx
+++ b/quartz/components/PageList.tsx
@@ -46,7 +46,7 @@
<div class="section">
{page.dates && (
<p class="meta">
- <Date date={getDate(cfg, page)!} />
+ <Date date={getDate(cfg, page)!} locale={cfg.locale} />
</p>
)}
<div class="desc">
--
Gitblit v1.10.0