From 0ac63c1a0deefeb432ea175bd56089e7b1e68a8f Mon Sep 17 00:00:00 2001 From: Musix Date: Sat, 2 Dec 2023 17:06:08 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Fix(#317):=20=EB=82=A0=EC=A7=9C?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(user-menu)/mypage/application/page.tsx | 4 +++- src/app/(user-menu)/mypage/template/page.tsx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/(user-menu)/mypage/application/page.tsx b/src/app/(user-menu)/mypage/application/page.tsx index 24360fbc..f7e632ba 100644 --- a/src/app/(user-menu)/mypage/application/page.tsx +++ b/src/app/(user-menu)/mypage/application/page.tsx @@ -7,6 +7,7 @@ import deleteApplication from "@/services/application/deleteApplication"; import Icon from "@/components/_common/Icon"; import DeleteModal from "@/components/_common/Modal/DeleteModal"; import useApplicationListQuery from "@/hooks/query/useApplicationListQuery"; +import formattedCreatedAt from "@/utils/formattedCreatedAt"; const MyApplicationPage = () => { const [isModalOpen, setIsModalOpen] = useState(false); @@ -94,7 +95,8 @@ const MyApplicationPage = () => {
- 제출일 {application.createdAt.slice(0, 10)} + 제출일{" "} + {formattedCreatedAt(application.createdAt, "yyyy-MM-dd")}
{ diff --git a/src/app/(user-menu)/mypage/template/page.tsx b/src/app/(user-menu)/mypage/template/page.tsx index 565bc235..c3ecc845 100644 --- a/src/app/(user-menu)/mypage/template/page.tsx +++ b/src/app/(user-menu)/mypage/template/page.tsx @@ -9,6 +9,7 @@ import getTemplates from "@/services/template/getTemplates"; import Button, { buttonSize } from "@/components/_common/Button"; import Icon from "@/components/_common/Icon"; import DeleteModal from "@/components/_common/Modal/DeleteModal"; +import formattedCreatedAt from "@/utils/formattedCreatedAt"; import { TemplatesKey } from "@/constants/queryKeys"; const MyTemplatePage = () => { @@ -64,7 +65,7 @@ const MyTemplatePage = () => {
- 생성일 {template.createdAt.slice(0, 10)} + 생성일 {formattedCreatedAt(template.createdAt, "yyyy-MM-dd")}
{