From dcec87fb207e3fd442fbcbe121484a866d62e125 Mon Sep 17 00:00:00 2001 From: jayylmao Date: Fri, 29 May 2026 22:41:36 +0800 Subject: [PATCH] feat: add listing date to student site --- components/shared/jobs.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/shared/jobs.tsx b/components/shared/jobs.tsx index 48606f51..a393b945 100644 --- a/components/shared/jobs.tsx +++ b/components/shared/jobs.tsx @@ -25,6 +25,7 @@ import { useMobile } from "@/hooks/use-mobile"; import { useAppContext } from "@/lib/ctx-app"; import { useProfileData } from "@/lib/api/student.data.api"; import { toAbbreviation } from "../../lib/utils/string-utils"; +import { formatDateWithoutTime } from "@/lib/utils"; export const JobHead = ({ title, @@ -598,6 +599,7 @@ function HeaderWithActions({ {job.location} )} +

Posted on {formatDateWithoutTime(job.created_at)}

{/* right: CTAs */}