aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/archive/index.php4
1 files changed, 2 insertions, 2 deletions
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">