mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
jwt-parser - show full date with timezone for date claims (#412)
This commit is contained in:
1 parent
93d4318884
commit
9ff69dc69f
1 file changed
+1
-1
@@ -52,5 +52,5 @@ function dateFormatter(value: unknown) {
|
||||
}
|
||||
|
||||
const date = new Date(Number(value) * 1000);
|
||||
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
||||
return date.toString();
|
||||
}
|
||||
Reference in new issue
Block a user