From 9b06bc37badc54fdb043577143dcc33619c5b548 Mon Sep 17 00:00:00 2001
From: Syndamia
Date: Sun, 9 Feb 2025 21:22:42 +0200
Subject: feat(views/archive): Remove time from datetime of first and last
archives
---
views/archive/index.php | 4 ++--
1 file 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 = $page->totalViewCount() ?> times
across = count($archives) ?> archives,
created between
- Date; reset($archives); ?>
+ Date, 2)[0]; reset($archives); ?>
and
- = current($archives)->Date ?>
+ = explode(' ', current($archives)->Date, 2)[0] ?>