summaryrefslogtreecommitdiff
path: root/lib/rfq-last
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rfq-last')
-rw-r--r--lib/rfq-last/vendor/vendor-detail-dialog.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rfq-last/vendor/vendor-detail-dialog.tsx b/lib/rfq-last/vendor/vendor-detail-dialog.tsx
index 7946e371..0eee1b8b 100644
--- a/lib/rfq-last/vendor/vendor-detail-dialog.tsx
+++ b/lib/rfq-last/vendor/vendor-detail-dialog.tsx
@@ -235,7 +235,7 @@ export function VendorResponseDetailDialog({
<span className="text-sm text-muted-foreground">최종 수정일</span>
<span className="text-sm">
{data.updatedAt
- ? format(new Date(data.updatedAt), "yyyy-MM-dd HH:mm", { locale: ko })
+ ? format(new Date(new Date(data.updatedAt).getTime() + 9 * 60 * 60 * 1000), "yyyy-MM-dd HH:mm", { locale: ko })
: "-"}
</span>
</div>
@@ -302,14 +302,14 @@ export function VendorResponseDetailDialog({
<div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">최초 발송일시</span>
<span className="text-sm">
- {format(new Date(data.emailSentAt), "yyyy-MM-dd HH:mm", { locale: ko })}
+ {format(new Date(new Date(data.emailSentAt).getTime() + 9 * 60 * 60 * 1000), "yyyy-MM-dd HH:mm", { locale: ko })}
</span>
</div>
{data.lastEmailSentAt && data.emailResentCount > 1 && (
<div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">최근 재발송일시</span>
<span className="text-sm">
- {format(new Date(data.lastEmailSentAt), "yyyy-MM-dd HH:mm", { locale: ko })}
+ {format(new Date(new Date(data.lastEmailSentAt).getTime() + 9 * 60 * 60 * 1000), "yyyy-MM-dd HH:mm", { locale: ko })}
<Badge variant="secondary" className="ml-2">
재발송 {data.emailResentCount - 1}회
</Badge>