Skip to content

Commit

Permalink
Fix typo in js
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinschumacher authored May 30, 2024
1 parent 79bf923 commit 92a9780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wwwroot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async function loadUpdatedData() {
localStorage.setItem('eventData', data);
}
let lastUpdate = document.getElementById('lastUpdate');
lastUpdate.textContent = new Date(localStorage.getItem('updateTime')).ToLocaleString();
lastUpdate.textContent = new Date(localStorage.getItem('updateTime')).toLocaleString();
getEventSources(JSON.parse(data));
}

Expand Down

0 comments on commit 92a9780

Please sign in to comment.