diff options
author | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
commit | 8a2c577823b69117af8eda9b1a46bfbcae8153c6 (patch) | |
tree | e89dee0f77377a665c78d8a3cea6012888d9af73 /src/web/_views/comments.php | |
parent | fix2 (diff) | |
download | website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.gz website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.bz2 website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.zip |
a few fixes, just a few....
Diffstat (limited to 'src/web/_views/comments.php')
-rw-r--r-- | src/web/_views/comments.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/_views/comments.php b/src/web/_views/comments.php index d72afd6..7f8acf2 100644 --- a/src/web/_views/comments.php +++ b/src/web/_views/comments.php @@ -2,8 +2,7 @@ <?=aria_section('comments', lang('comments'))?> <?php foreach($comments as $comment) { - $date = date_create($comment['created']); - $date = date_format($date, "Y-m-d H:i"); + $date = $this->main->format_date($comment['created']); echo '<div class="comment">'; echo '<h3 class="header">' . esc($comment['author']) . '</h3>'; |