]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
Use DateTimeFormat::utc() instead of DBM::date()
[friendica.git] / mod / network.php
index 50eb025c23b0af2d5b3a19e4e8e68c5892ad4f4f..18c2037dda2ad773449c87a0bef452d40ed230ea 100644 (file)
@@ -480,9 +480,9 @@ function networkThreadedView(App $a, $update, $parent)
        $rawmode = (isset($_GET['mode']) AND ( $_GET['mode'] == 'raw'));
 
        if (isset($_GET['last_received']) && isset($_GET['last_commented']) && isset($_GET['last_created']) && isset($_GET['last_id'])) {
-               $last_received = DBM::date($_GET['last_received']);
-               $last_commented = DBM::date($_GET['last_commented']);
-               $last_created = DBM::date($_GET['last_created']);
+               $last_received = DateTimeFormat::utc($_GET['last_received']);
+               $last_commented = DateTimeFormat::utc($_GET['last_commented']);
+               $last_created = DateTimeFormat::utc($_GET['last_created']);
                $last_id = intval($_GET['last_id']);
        } else {
                $last_received = '';