Issue 10914: Display events in the feed in the author's timezone
This commit is contained in:
parent
925b3ab565
commit
4914ee423f
|
@ -898,6 +898,11 @@ class Feed
|
||||||
|
|
||||||
$cachekey = "feed:feed:" . $owner_nick . ":" . $filter . ":" . $last_update;
|
$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;
|
$previous_created = $last_update;
|
||||||
|
|
||||||
// Don't cache when the last item was posted less then 15 minutes ago (Cache duration)
|
// Don't cache when the last item was posted less then 15 minutes ago (Cache duration)
|
||||||
|
|
Loading…
Reference in a new issue