diff options
author | polo <ordipolo@gmx.fr> | 2025-09-18 17:26:24 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-09-18 17:26:24 +0200 |
commit | f977313ff095a10478291334109d9aae40528a34 (patch) | |
tree | 7e17b780c15c6882bdd962fb9d97ed2425847245 /src/view/templates/new.php | |
parent | fa3c582a2bd91433399a5b275616052028a5a011 (diff) | |
download | cms-f977313ff095a10478291334109d9aae40528a34.zip |
gestion correcte des dates des articles: UTC côté serveur, locale côté client + date UTC dans l'attribut date-utc
Diffstat (limited to 'src/view/templates/new.php')
-rw-r--r-- | src/view/templates/new.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/templates/new.php b/src/view/templates/new.php index bda7daf..b1b3453 100644 --- a/src/view/templates/new.php +++ b/src/view/templates/new.php | |||
@@ -18,7 +18,7 @@ | |||
18 | <div class="under_an_article"> | 18 | <div class="under_an_article"> |
19 | <p> | 19 | <p> |
20 | <img src="assets/calendar.svg"> | 20 | <img src="assets/calendar.svg"> |
21 | <span class="data" id="<?= $id_date ?>"><?= $date ?></span> | 21 | <span class="data local_date" id="<?= $id_date ?>" date-utc="<?= $date ?>">Chargement...</span> |
22 | </p> | 22 | </p> |
23 | </div> | 23 | </div> |
24 | <?= $date_buttons ?> | 24 | <?= $date_buttons ?> |