]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Added Documentation
[friendica.git] / src / Protocol / Feed.php
index 528800c1ee45c01af214ebd34726c76e70d39fb9..048e9974ce4f10bf2969951dc361185a14be4d31 100644 (file)
@@ -898,6 +898,11 @@ class Feed
 
                $cachekey = "feed:feed:" . $owner_nick . ":" . $filter . ":" . $last_update;
 
+               // Display events in the users's timezone
+               if (strlen($owner['timezone'])) {
+                       DI::app()->setTimeZone($owner['timezone']);
+               }
+
                $previous_created = $last_update;
 
                // Don't cache when the last item was posted less then 15 minutes ago (Cache duration)