summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/table
diff options
context:
space:
mode:
Diffstat (limited to 'lib/techsales-rfq/table')
-rw-r--r--lib/techsales-rfq/table/detail-table/quotation-history-dialog.tsx6
-rw-r--r--lib/techsales-rfq/table/detail-table/vendor-communication-drawer.tsx2
-rw-r--r--lib/techsales-rfq/table/rfq-table-column.tsx4
-rw-r--r--lib/techsales-rfq/table/tech-sales-quotation-attachments-sheet.tsx2
-rw-r--r--lib/techsales-rfq/table/tech-sales-rfq-attachments-sheet.tsx2
5 files changed, 8 insertions, 8 deletions
diff --git a/lib/techsales-rfq/table/detail-table/quotation-history-dialog.tsx b/lib/techsales-rfq/table/detail-table/quotation-history-dialog.tsx
index 0195b10c..ce701e13 100644
--- a/lib/techsales-rfq/table/detail-table/quotation-history-dialog.tsx
+++ b/lib/techsales-rfq/table/detail-table/quotation-history-dialog.tsx
@@ -137,7 +137,7 @@ function QuotationCard({
<div>
<p className="text-sm font-medium text-muted-foreground">유효 기한</p>
<p className="text-sm">
- {data.validUntil ? formatDate(data.validUntil) : "미설정"}
+ {data.validUntil ? formatDate(data.validUntil, "KR") : "미설정"}
</p>
</div>
</div>
@@ -187,8 +187,8 @@ function QuotationCard({
<Clock className="size-3" />
<span>
{isCurrent
- ? `수정: ${data.updatedAt ? formatDate(data.updatedAt) : "N/A"}`
- : `변경: ${revisedAt ? formatDate(revisedAt) : "N/A"}`
+ ? `수정: ${data.updatedAt ? formatDate(data.updatedAt, "KR") : "N/A"}`
+ : `변경: ${revisedAt ? formatDate(revisedAt, "KR") : "N/A"}`
}
</span>
</div>
diff --git a/lib/techsales-rfq/table/detail-table/vendor-communication-drawer.tsx b/lib/techsales-rfq/table/detail-table/vendor-communication-drawer.tsx
index 4172ccd7..0312451d 100644
--- a/lib/techsales-rfq/table/detail-table/vendor-communication-drawer.tsx
+++ b/lib/techsales-rfq/table/detail-table/vendor-communication-drawer.tsx
@@ -351,7 +351,7 @@ export function VendorCommunicationDrawer({
{selectedAttachment.fileName}
</DialogTitle>
<DialogDescription>
- {formatFileSize(selectedAttachment.fileSize)} • {formatDateTime(selectedAttachment.uploadedAt)}
+ {formatFileSize(selectedAttachment.fileSize)} • {formatDateTime(selectedAttachment.uploadedAt, "KR")}
</DialogDescription>
</DialogHeader>
diff --git a/lib/techsales-rfq/table/rfq-table-column.tsx b/lib/techsales-rfq/table/rfq-table-column.tsx
index 3009e036..89054d0e 100644
--- a/lib/techsales-rfq/table/rfq-table-column.tsx
+++ b/lib/techsales-rfq/table/rfq-table-column.tsx
@@ -234,7 +234,7 @@ export function getColumns({
),
cell: ({ cell }) => {
const value = cell.getValue();
- return value ? formatDateTime(value as Date) : "";
+ return value ? formatDateTime(value as Date, "KR") : "";
},
meta: {
excelHeader: "등록일"
@@ -249,7 +249,7 @@ export function getColumns({
),
cell: ({ cell }) => {
const value = cell.getValue();
- return value ? formatDateTime(value as Date) : "";
+ return value ? formatDateTime(value as Date, "KR") : "";
},
meta: {
excelHeader: "수정일"
diff --git a/lib/techsales-rfq/table/tech-sales-quotation-attachments-sheet.tsx b/lib/techsales-rfq/table/tech-sales-quotation-attachments-sheet.tsx
index 21c61773..6d6bde5a 100644
--- a/lib/techsales-rfq/table/tech-sales-quotation-attachments-sheet.tsx
+++ b/lib/techsales-rfq/table/tech-sales-quotation-attachments-sheet.tsx
@@ -190,7 +190,7 @@ export function TechSalesQuotationAttachmentsSheet({
</Badge>
</div>
<p className="text-xs text-muted-foreground mt-1">
- {formatDate(attachment.createdAt)}
+ {formatDate(attachment.createdAt, "KR")}
</p>
{attachment.description && (
<p className="text-xs text-muted-foreground mt-1 break-words">
diff --git a/lib/techsales-rfq/table/tech-sales-rfq-attachments-sheet.tsx b/lib/techsales-rfq/table/tech-sales-rfq-attachments-sheet.tsx
index fa9be9e3..0593206a 100644
--- a/lib/techsales-rfq/table/tech-sales-rfq-attachments-sheet.tsx
+++ b/lib/techsales-rfq/table/tech-sales-rfq-attachments-sheet.tsx
@@ -379,7 +379,7 @@ export function TechSalesRfqAttachmentsSheet({
{existingFields.map((field, index) => {
const typeLabel = attachmentConfig.fileTypeLabel
const sizeText = field.fileSize ? prettyBytes(field.fileSize) : "알 수 없음"
- const dateText = field.createdAt ? formatDate(field.createdAt) : ""
+ const dateText = field.createdAt ? formatDate(field.createdAt, "KR") : ""
return (
<div key={field.id} className="flex items-start justify-between p-3 border rounded-md gap-3">