From 9cda8482660a87fd98c9ee43f507d75ff75b4e23 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 28 Nov 2025 03:12:57 +0000
Subject: (최겸) 구매 입찰 피드백 반영(90%)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/biddings-table-columns.tsx | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

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

diff --git a/lib/bidding/list/biddings-table-columns.tsx b/lib/bidding/list/biddings-table-columns.tsx
index 907115b1..9b8c19c5 100644
--- a/lib/bidding/list/biddings-table-columns.tsx
+++ b/lib/bidding/list/biddings-table-columns.tsx
@@ -256,23 +256,17 @@ export function getBiddingsColumns({ setRowAction }: GetColumnsProps): ColumnDef
         
         if (!startDate || !endDate) return <span className="text-muted-foreground">-</span>
         
-        const now = new Date().toString()
-        console.log(now, "now")
-        const startIso = new Date(startDate).toISOString()
-        const endIso = new Date(endDate).toISOString()
+        const startObj = new Date(startDate)
+        const endObj = new Date(endDate)
+
+        // UI 표시용 KST 변환
+        const formatKst = (d: Date) => new Date(d.getTime() + 9 * 60 * 60 * 1000).toISOString().slice(0, 16).replace('T', ' ')
         
-        const isActive = new Date(now) >= new Date(startIso) && new Date(now) <= new Date(endIso)
-        console.log(isActive, "isActive")
-        const isPast = new Date(now) > new Date(endIso)
-        console.log(isPast, "isPast")
         return (
           <div className="text-xs">
-            <div className={`${isActive ? 'text-green-600 font-medium' : isPast ? 'text-red-600' : 'text-gray-600'}`}>
-              {new Date(startDate).toISOString().slice(0, 16).replace('T', ' ')} ~ {new Date(endDate).toISOString().slice(0, 16).replace('T', ' ')}
+            <div>
+              {formatKst(startObj)} ~ {formatKst(endObj)}
             </div>
-            {isActive && (
-              <Badge variant="default" className="text-xs mt-1">진행중</Badge>
-            )}
           </div>
         )
       },
-- 
cgit v1.2.3

