Commit 7f0d14fe6f

7f0d14fe6fe950ebdbe1fbeffb644d4535680f62

parent: 4360165924

Unsigned

cmc <hello@cleberg.net> · 2023-06-06 02:25 UTC

fix: user comment datetimes used incorrect taf

Layout: unified · split

index.php +2 −2
@@ -195,9 +195,9 @@ function get_user(string $api_url, string $inline_title) {
195195 $html = 'TODO: Add logic to handle polls here.';
196196 } else {
197197 // TODO: Add link to parent with $sub_response['parent']
198 $html = '<div><timedatetime="' . date('Y-m-d h:m:s', $sub_response['time']);
198 $html = '<div><time datetime="' . date('Y-m-d h:m:s', $sub_response['time']);
199199 $html .= '">' . date('Y-m-d h:m:s', $sub_response['time']);
200 $html .= '</time><br><p>' . $sub_response['text']; $html .= '</p></div>';
200 $html .= '</time><br><p>' . $sub_response['text'] . '</p></div>';
201201 }
202202 $html_output .= $html;
203203 }