We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3e9ff commit 34cc146Copy full SHA for 34cc146
webroot/js/participantSummary.js
@@ -81,7 +81,7 @@ function loadAPIKeysCallback(result) {
81
const textToHighlight = '"disabled": true';
82
let resultJson = JSON.parse(result);
83
resultJson = resultJson.map((item) => {
84
- const created = new Date((item.created)*1000).toLocaleString();
+ const created = new Date((item.created)*1000).toLocaleString(); // Convert Unix timestamp in seconds to milliseconds for Date constructor
85
return { ...item, created };
86
});
87
const formatted = prettifyJson(JSON.stringify(resultJson));
0 commit comments