add hour and minute to timestamp

This commit is contained in:
2026-03-13 15:50:35 +00:00
parent b55e26eb04
commit 28e965b34b

View File

@@ -63,7 +63,7 @@
<footer> <footer>
<p>Last updated: <span id="updated"></span></p> <p>Last updated: <span id="updated"></span></p>
<script>document.getElementById('updated').textContent = new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' });</script> <script>document.getElementById('updated').textContent = new Date().toLocaleString('en-US', { year: 'numeric', month: 'long', day: 'numeric', hour: '2-digit', minute: '2-digit' });</script>
</footer> </footer>
</main> </main>
</body> </body>