diff --git a/backend.php b/backend.php index 63b38e3a..f7c26df4 100644 --- a/backend.php +++ b/backend.php @@ -577,6 +577,7 @@ $addheader = $_GET["addheader"]; $result = db_query($link, "SELECT title,link,content,feed_id,comments,int_id, + SUBSTRING(updated,1,16) as updated, (SELECT icon_url FROM ttrss_feeds WHERE id = feed_id) as icon_url FROM ttrss_entries,ttrss_user_entries WHERE id = '$id' AND ref_id = id"); @@ -625,7 +626,14 @@ print "
" . $line["title"] . " | |
" . $line["title"] . " | "; + + $parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'), + strtotime($line["updated"])); + + print "$parsed_updated | "; + + print "