This commit is contained in:
floppydiskette 2024-08-22 22:23:36 +01:00
parent 193a000f28
commit ed711791b6
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
2 changed files with 2 additions and 6 deletions

View file

@ -5,7 +5,7 @@
return [
'name' => env('APP_NAME', 'diskfloppy.me'),
'version' => '2024.07.12',
'version' => '2024.08.22',
'env' => env('APP_ENV', 'production'),
'debug' => (bool) env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'),

View file

@ -1,10 +1,6 @@
function time() {
var span = document.getElementById("clock");
var d = new Date();
var s = d.getSeconds();
var m = d.getMinutes();
var h = d.getHours();
span.textContent =
("0" + h).substr(-2) + ":" + ("0" + m).substr(-2) + ":" + ("0" + s).substr(-2);
span.textContent = d.toLocaleString('en-US', {hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false, timeZone: 'Europe/London' })
}
setInterval(time, 1000);