]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove seconds from feed details headlines
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Nov 2005 10:43:50 +0000 (11:43 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Nov 2005 10:43:50 +0000 (11:43 +0100)
backend.php

index 22fc434bb2d5f80d782f5270d4a3bd89b34a94fc..1da333648cbe93fcab684688553f9a6651337925 100644 (file)
 
                print "</table>";
 
-               $result = db_query($link, "SELECT title,updated,unread
+               $result = db_query($link, "SELECT title,
+                       SUBSTRING(updated,1,16) AS updated,unread
                        FROM ttrss_entries,ttrss_user_entries
                        WHERE ref_id = id AND feed_id = '$feed_id' 
                        ORDER BY date_entered DESC LIMIT 5");