Skip to content

Commit

Permalink
Log the actual times of contacts
Browse files Browse the repository at this point in the history
  • Loading branch information
qsantos committed Oct 24, 2024
1 parent d3d78f3 commit 8e54f30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/contest.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ async function sendReportAndNumber() {
const theirCallSign = document.getElementById("their-call-sign").value;
const theirReport = document.getElementById("their-report").value;
const theirNumber = document.getElementById("their-number").value;
const time = new Date().toISOString();
const contactLogEntry = document.createElement('TR');
contactLogEntry.innerHTML = `
<td>${yourNumber}</td>
<td>12:34</td>
<td><time datetime="${time}" title="${time}">${time.slice(11, 16)}</time></td>
<td>${theirCallSign}</td>
<td>${yourReport}</td>
<td>${theirReport} ${theirNumber}</td>
Expand Down

0 comments on commit 8e54f30

Please sign in to comment.