Skip to content

Commit 34cc146

Browse files
committed
add comment
1 parent 7e3e9ff commit 34cc146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webroot/js/participantSummary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function loadAPIKeysCallback(result) {
8181
const textToHighlight = '"disabled": true';
8282
let resultJson = JSON.parse(result);
8383
resultJson = resultJson.map((item) => {
84-
const created = new Date((item.created)*1000).toLocaleString();
84+
const created = new Date((item.created)*1000).toLocaleString(); // Convert Unix timestamp in seconds to milliseconds for Date constructor
8585
return { ...item, created };
8686
});
8787
const formatted = prettifyJson(JSON.stringify(resultJson));

0 commit comments

Comments
 (0)