diff options
Diffstat (limited to 'lib/techsales-rfq')
6 files changed, 9 insertions, 9 deletions
diff --git a/lib/techsales-rfq/service.ts b/lib/techsales-rfq/service.ts index 14d7a45e..9689e855 100644 --- a/lib/techsales-rfq/service.ts +++ b/lib/techsales-rfq/service.ts @@ -634,7 +634,7 @@ export async function sendTechSalesRfqToVendors(input: { projectCode: rfq.biddingProject?.pspid || '', projectName: rfq.biddingProject?.projNm || '', description: rfq.remark || '', - dueDate: rfq.dueDate ? formatDate(rfq.dueDate) : 'N/A', + dueDate: rfq.dueDate ? formatDate(rfq.dueDate, "KR") : 'N/A', materialCode: rfq.materialCode || '', type: rfq.rfqType || 'SHIP', }, 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"> |
