diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-09 21:22:42 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-09 21:22:42 +0200 |
| commit | 9b06bc37badc54fdb043577143dcc33619c5b548 (patch) | |
| tree | 60ab655b3743046e147f6e3a940e14861bda30ef | |
| parent | 970e6e5e70dda9e67673a1b12cb8a41f3ac98a88 (diff) | |
| download | nowayforward_human-9b06bc37badc54fdb043577143dcc33619c5b548.tar nowayforward_human-9b06bc37badc54fdb043577143dcc33619c5b548.tar.gz nowayforward_human-9b06bc37badc54fdb043577143dcc33619c5b548.zip | |
feat(views/archive): Remove time from datetime of first and last archives
| -rw-r--r-- | views/archive/index.php | 4 |
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"> |
