jwt-parser - show full date with timezone for date claims (#412)

This commit is contained in:
Lucas Vilela authored and GitHub committed 2026-06-25 08:26:40 +02:00
1 parent 93d4318884
commit 9ff69dc69f
1 file changed
+1 -1
+1 -1
View File
@@ -52,5 +52,5 @@ function dateFormatter(value: unknown) {
}
const date = new Date(Number(value) * 1000);
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
return date.toString();
}