]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
Add Temporal::utcNow()
[friendica.git] / mod / network.php
index b5f58be40b024b9a5a76dd0ed89b1d5a4efefead..01b6413e6aa4d3aa793f531a0bfedd1dcedb0a57 100644 (file)
@@ -790,8 +790,8 @@ function networkThreadedView(App $a, $update = 0)
                        $top_limit = current($r)['order_date'];
                        $bottom_limit = end($r)['order_date'];
                } else {
-                       $top_limit = Temporal::convert();
-                       $bottom_limit = Temporal::convert();
+                       $top_limit = Temporal::utcNow();
+                       $bottom_limit = Temporal::utcNow();
                }
 
                // When checking for updates we need to fetch from the newest date to the newest date before
@@ -804,7 +804,7 @@ function networkThreadedView(App $a, $update = 0)
                        $top_limit = $last_date;
                } elseif ($a->pager['page'] == 1) {
                        // Highest possible top limit when we are on the first page
-                       $top_limit = Temporal::convert();
+                       $top_limit = Temporal::utcNow();
                }
 
                $items = dba::p("SELECT `item`.`id` AS `item_id`, `item`.`network` AS `item_network`, `contact`.`uid` AS `contact_uid` FROM `item`