From a70e846b0a14f3065bbf613221fee0e3b09c12ef Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 02 Aug 2023 05:47:16 +0000
Subject: [PATCH] flag to allow ofm replace in html embed
---
quartz/components/Date.tsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/quartz/components/Date.tsx b/quartz/components/Date.tsx
index 7ea6ad4..16c4544 100644
--- a/quartz/components/Date.tsx
+++ b/quartz/components/Date.tsx
@@ -3,10 +3,10 @@
}
export function Date({ date }: Props) {
- const formattedDate = date.toLocaleDateString('en-US', {
+ const formattedDate = date.toLocaleDateString("en-US", {
year: "numeric",
month: "short",
- day: '2-digit'
+ day: "2-digit",
})
return <>{formattedDate}</>
}
--
Gitblit v1.10.0