]> git.wh0rd.org - tt-rss.git/blobdiff - mobile/classic/functions.php
implement per-user timezone support; store dates in UTC internally (closes #254)
[tt-rss.git] / mobile / classic / functions.php
index bd61bbfd257a0c2a22bd24bc6ef9200b5c35359c..4cb58308e763060dc42c91574ef0f28cad224207 100644 (file)
                                $content_link = "<a href=\"?go=view&id=$id&cat=$cat_view&ret_feed=$feed&feed=$feed_id\">" .
                                        $line["title"] . "</a>";
 
-                               if (get_pref($link, 'HEADLINES_SMART_DATE')) {
-                                       $updated_fmt = smart_date_time(strtotime($line["updated"]));
-                               } else {
-                                       $short_date = get_pref($link, 'SHORT_DATE_FORMAT');
-                                       $updated_fmt = date($short_date, strtotime($line["updated"]));
-                               }                               
-                               
+                               $updated_fmt = make_local_datetime($link, $line['updated'], false);
+
                                print "<li class='$class' id=\"HROW-$id\">";
 
                                print "<input type=\"checkbox\" name=\"sel_ids[$id]\"