From 79cfa7ea8f21ae227dbb2843ae536fe876ba7c55 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Thu, 27 Nov 2025 03:08:50 +0000
Subject: (최겸) 구매 입찰 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/receive/biddings-receive-columns.tsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'lib/bidding/receive/biddings-receive-columns.tsx')

diff --git a/lib/bidding/receive/biddings-receive-columns.tsx b/lib/bidding/receive/biddings-receive-columns.tsx
index d5798782..ab2c0d02 100644
--- a/lib/bidding/receive/biddings-receive-columns.tsx
+++ b/lib/bidding/receive/biddings-receive-columns.tsx
@@ -192,17 +192,17 @@ export function getBiddingsReceiveColumns({ setRowAction }: GetColumnsProps): Co
       cell: ({ row }) => {
         const startDate = row.original.submissionStartDate
         const endDate = row.original.submissionEndDate
-
+        
         if (!startDate || !endDate) return <span className="text-muted-foreground">-</span>
-
+        
         const now = new Date()
-        const isActive = now >= startDate && now <= endDate
-        const isPast = now > endDate
-
+        const isActive = now >= new Date(startDate) && now <= new Date(endDate)
+        const isPast = now > new Date(endDate)
+        
         return (
           <div className="text-xs">
             <div className={`${isActive ? 'text-green-600 font-medium' : isPast ? 'text-red-600' : 'text-gray-600'}`}>
-              {formatDate(startDate, "KR")} ~ {formatDate(endDate, "KR")}
+              {new Date(startDate).toISOString().slice(0, 16).replace('T', ' ')} ~ {new Date(endDate).toISOString().slice(0, 16).replace('T', ' ')}
             </div>
             {isActive && (
               <Badge variant="default" className="text-xs mt-1">진행중</Badge>
-- 
cgit v1.2.3

