sent at is more useful now

This commit is contained in:
KMKoushik
2024-11-03 10:16:38 +11:00
parent bb0d54188c
commit d3e832605e

View File

@@ -185,8 +185,9 @@ export default function EmailsList() {
</TableCell> </TableCell>
<TableCell className="text-right"> <TableCell className="text-right">
{email.latestStatus !== "SCHEDULED" {email.latestStatus !== "SCHEDULED"
? formatDistanceToNow( ? formatDate(
email.scheduledAt ?? email.createdAt email.scheduledAt ?? email.createdAt,
"MMM do, hh:mm a"
) )
: "--"} : "--"}
</TableCell> </TableCell>