Skip to content

Commit

Permalink
💄 future timeline ui
Browse files Browse the repository at this point in the history
  • Loading branch information
daiki0381 committed Mar 15, 2024
1 parent 91e8f49 commit 01e07f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/atoms/MileStoneDate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/atoms/MileStoneDatePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 01e07f6

Please sign in to comment.