의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Issue 10914: Display events in the feed in the author's timezone
This commit is contained in:
부모
925b3ab565
커밋
4914ee423f
1개의 변경된 파일과 5개의 추가작업 그리고 0개의 파일을 삭제
|
@ -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)
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue