From 9fcf6929aa23c0eee6c2a9bf5c29d4e2015ba936 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 1 Jun 2023 09:48:58 -0500 Subject: format line lengths --- index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 89eab4d..8afaa13 100644 --- a/index.php +++ b/index.php @@ -140,8 +140,10 @@ function get_stories($api_url, $inline_title) { $html = '
' . $sub_response['title'] . ''; $html .= '

by '; - $html .= $sub_response['by'] . ' | ' . $sub_response['score'] . ' points

'; + $html .= date('Y-m-d h:m:s', $sub_response['time']) . ' by '; + $html .= $sub_response['by'] . ' | ' . $sub_response['score']; + $html .= 'points

'; $html_output .= $html; } -- cgit v1.2.3-70-g09d2