summaryrefslogtreecommitdiff
path: root/lib/rfqs/tbe-table
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rfqs/tbe-table')
-rw-r--r--lib/rfqs/tbe-table/comments-sheet.tsx2
-rw-r--r--lib/rfqs/tbe-table/file-dialog.tsx2
-rw-r--r--lib/rfqs/tbe-table/tbe-table-columns.tsx2
-rw-r--r--lib/rfqs/tbe-table/vendor-contact/vendor-contact-table-column.tsx4
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/rfqs/tbe-table/comments-sheet.tsx b/lib/rfqs/tbe-table/comments-sheet.tsx
index 6efd631f..b3cdbc60 100644
--- a/lib/rfqs/tbe-table/comments-sheet.tsx
+++ b/lib/rfqs/tbe-table/comments-sheet.tsx
@@ -165,7 +165,7 @@ export function CommentSheet({
</div>
)}
</TableCell>
- <TableCell> {c.createdAt ? formatDate(c.createdAt) : "-"}</TableCell>
+ <TableCell> {c.createdAt ? formatDate(c.createdAt, "KR") : "-"}</TableCell>
<TableCell>{c.commentedByEmail ?? "-"}</TableCell>
</TableRow>
))}
diff --git a/lib/rfqs/tbe-table/file-dialog.tsx b/lib/rfqs/tbe-table/file-dialog.tsx
index 772eb930..e19430a3 100644
--- a/lib/rfqs/tbe-table/file-dialog.tsx
+++ b/lib/rfqs/tbe-table/file-dialog.tsx
@@ -118,7 +118,7 @@ export function TBEFileDialog({
<FileListInfo className="flex-1 min-w-0">
<FileListName className="text-sm font-medium truncate">{file.fileName}</FileListName>
<FileListDescription className="text-xs text-muted-foreground">
- {file.uploadedAt ? formatDateTime(file.uploadedAt) : ""}
+ {file.uploadedAt ? formatDateTime(file.uploadedAt, "KR") : ""}
</FileListDescription>
</FileListInfo>
</div>
diff --git a/lib/rfqs/tbe-table/tbe-table-columns.tsx b/lib/rfqs/tbe-table/tbe-table-columns.tsx
index e8566831..0538d354 100644
--- a/lib/rfqs/tbe-table/tbe-table-columns.tsx
+++ b/lib/rfqs/tbe-table/tbe-table-columns.tsx
@@ -208,7 +208,7 @@ export function getColumns({
if (cfg.id === "tbeUpdated") {
const dateVal = val as Date | undefined
if (!dateVal) return null
- return formatDate(dateVal)
+ return formatDate(dateVal, "KR")
}
// 그 외 필드는 기본 값 표시
diff --git a/lib/rfqs/tbe-table/vendor-contact/vendor-contact-table-column.tsx b/lib/rfqs/tbe-table/vendor-contact/vendor-contact-table-column.tsx
index fcd0c3fb..efc395b4 100644
--- a/lib/rfqs/tbe-table/vendor-contact/vendor-contact-table-column.tsx
+++ b/lib/rfqs/tbe-table/vendor-contact/vendor-contact-table-column.tsx
@@ -55,7 +55,7 @@ export function getColumns(): ColumnDef<VendorData>[] {
header: ({ column }) => (
<ClientDataTableColumnHeaderSimple column={column} title="Created At" />
),
- cell: ({ cell }) => formatDate(cell.getValue() as Date),
+ cell: ({ cell }) => formatDate(cell.getValue() as Date, "KR"),
},
// Updated At
@@ -64,7 +64,7 @@ export function getColumns(): ColumnDef<VendorData>[] {
header: ({ column }) => (
<ClientDataTableColumnHeaderSimple column={column} title="Updated At" />
),
- cell: ({ cell }) => formatDate(cell.getValue() as Date),
+ cell: ({ cell }) => formatDate(cell.getValue() as Date, "KR"),
},
]
} \ No newline at end of file