diff --git a/quartz/components/Date.tsx b/quartz/components/Date.tsx index 8713cfd3..63a0e1fa 100644 --- a/quartz/components/Date.tsx +++ b/quartz/components/Date.tsx @@ -17,9 +17,9 @@ export function getDate(cfg: GlobalConfiguration, data: QuartzPluginData): Date } export function formatDate(d: Date): string { - return d.toLocaleDateString("en-US", { + return d.toLocaleDateString("ja-JP", { year: "numeric", - month: "short", + month: "2-digit", day: "2-digit", }) }