aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-06-01 09:53:57 -0500
committerChristian Cleberg <hello@cleberg.net>2023-06-01 09:53:57 -0500
commit1ae16f7987d553d26da0df0ef916c25ec173da91 (patch)
treee6578272cc560727a88865b7d432868588fbc74a
parent0d7898ac54d4657a1ae80bd43b153dbadf391853 (diff)
downloadhn-1ae16f7987d553d26da0df0ef916c25ec173da91.tar.gz
hn-1ae16f7987d553d26da0df0ef916c25ec173da91.tar.bz2
hn-1ae16f7987d553d26da0df0ef916c25ec173da91.zip
fix accidental line end
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 8afaa13..fa92db9 100644
--- a/index.php
+++ b/index.php
@@ -171,7 +171,7 @@ function get_user(string $api_url, string $inline_title) {
$html_output = '<h1>' . $inline_title . '</h1>';
$html_output .= '<p>About: ' . $response['about'] . '</p>';
$html_output .= '<p>Karma: ' . $response['karma'] . '</p>';
- $html_output .= '<p>Created: <time datetime="' . date('Y-m-d h:m:s', $response['created']) . '>
+ $html_output .= '<p>Created: <time datetime="' . date('Y-m-d h:m:s', $response['created']) . '>' . date('Y-m-d h:m:s', $response['created']) . '</time></p>';
$html_output .= '<p>Recently Submitted Posts:</p>';
$limit = count($response['submitted']) > 10 ? 10 : count($response['submitted']);