Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit9b06bc37badc54fdb043577143dcc33619c5b548 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-09 21:22:42 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-09 21:22:42 +0200
Files60ab655b3743046e147f6e3a940e14861bda30ef
nowayforward_human-9b06bc37badc54fdb043577143dcc33619c5b548.tar
nowayforward_human-9b06bc37badc54fdb043577143dcc33619c5b548.tar.gz
nowayforward_human-9b06bc37badc54fdb043577143dcc33619c5b548.zip
Parent970e6e5e70dda9e67673a1b12cb8a41f3ac98a88 (diff)
feat(views/archive): Remove time from datetime of first and last archives
1 files changed, 2 insertions, 2 deletions
-rw-r--r--views/archive/index.php4
diff --git a/views/archive/index.php b/views/archive/index.php
index 380a778..02cf502 100644
--- a/views/archive/index.php
+++ b/views/archive/index.php
@@ -23,9 +23,9 @@
Viewed <b><?= $page->totalViewCount() ?></b> times
across <b><?= count($archives) ?></b> archives,
created between
- <b><?php echo end($archives)->Date; reset($archives); ?></b>
+ <b><?php echo explode(' ', end($archives)->Date, 2)[0]; reset($archives); ?></b>
and
- <b><?= current($archives)->Date ?></b>
+ <b><?= explode(' ', current($archives)->Date, 2)[0] ?></b>
</p>
<section id="page-buttons">