Skip to content

Commit

Permalink
mypage ui day format
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimsuyeon committed Nov 8, 2023
1 parent e6ee0e6 commit 0414fb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/[lng]/mypage/MypageTable.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import LazyCat from "@/assets/lazy-cat.svg";
import dayjs from "dayjs";

interface Tag {
id: number;
Expand Down Expand Up @@ -61,7 +62,7 @@ const MypageTable = ({ title, articles, link }: MypageTableProps) => {
</div>
<div className={`rounded-br-${borderBottomRadius} p-0 sm:p-10`}>
<div className="text-regular m-5 text-white">
{formatISODate(articleObj.createdAt)}
{dayjs(articleObj.createdAt).format("YYYY-MM-DD")}
</div>
</div>
</div>
Expand Down

0 comments on commit 0414fb3

Please sign in to comment.