data dinamica di pubblicazione

This commit is contained in:
romo 2023-10-16 23:39:28 +02:00
parent 3ce3573f84
commit ba7885207b

View file

@ -2,12 +2,12 @@
<html lang="it">
<head>
<meta charset="utf-8">
<title>Balotta - sito in manutenzione</title>
<title>Balotta cartecea</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ url_for('static', filename='flyers/simple/style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='flyers/simple/paper.css') }} ">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body class="A3 center">
<header class="intestazione">
@ -51,8 +51,13 @@
info@balotta.org
</div>
<div class="published">
stampato il 16/10/23
stampato il <span id="publish_time"></span>
</div>
<script>
let today = new Date();
let publish_time = today.toLocaleDateString('it-IT');
document.getElementById("publish_time").innerHTML = publish_time;
</script>
</footer>
</body>