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")}
{