From 01e07f67a1accf088d0af99c22b14ce45f92988c Mon Sep 17 00:00:00 2001 From: daiki0381 Date: Sat, 16 Mar 2024 03:39:17 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20future=20timeline=20ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/atoms/MileStoneDate.tsx | 2 +- src/components/atoms/MileStoneDatePreview.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/atoms/MileStoneDate.tsx b/src/components/atoms/MileStoneDate.tsx index bab0078..584d551 100644 --- a/src/components/atoms/MileStoneDate.tsx +++ b/src/components/atoms/MileStoneDate.tsx @@ -7,7 +7,7 @@ const convertToShortHandDate = (date: string): string => { const year = date.split("-")[0]; const month = date.split("-")[1]; - return `${year}年 ${parseInt(month, 10).toString()}月`; + return `${year}年${parseInt(month, 10).toString()}月`; }; type Props = { diff --git a/src/components/atoms/MileStoneDatePreview.tsx b/src/components/atoms/MileStoneDatePreview.tsx index 2e1527d..4ac0399 100644 --- a/src/components/atoms/MileStoneDatePreview.tsx +++ b/src/components/atoms/MileStoneDatePreview.tsx @@ -7,7 +7,7 @@ const convertToShortHandDate = (date: string): string => { const year = date.split("-")[0]; const month = date.split("-")[1]; - return `${year}年 ${parseInt(month, 10).toString()}月`; + return `${year}年${parseInt(month, 10).toString()}月`; }; type Props = {