feat: support user-related placeholders in submission templates and standardize display time to Asia/Bangkok timezone

This commit is contained in:
2026-06-29 20:30:06 +07:00 Unverified
parent 56eaf61cef
commit f9b423eded
4 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export default async function ResultsListPage(
</TableCell>
<TableCell className="p-0 text-muted-foreground">
<Link href={`/admin/form/${params.id}/result/${sub.id}`} className="flex items-center p-4 w-full h-full">
{new Date(sub.submittedAt).toLocaleString()}
{new Date(sub.submittedAt).toLocaleString("en-US", { timeZone: "Asia/Bangkok", hour12: false })}
</Link>
</TableCell>
<TableCell className="text-right p-4">