@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Set the viewer timezone properly on Calendar event RecurrenceSet objects

Summary: Ref T11801. In some cases, this could lead to us failing to generate the first recurrence in a series.

Test Plan: Imported `weekly.ics` (from D16974) and saw an event correctly occur on Aug 18, with my local timezone set to "America/Los_Angeles".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11801

Differential Revision: https://secure.phabricator.com/D16975

+4
+4
src/applications/calendar/storage/PhabricatorCalendarEvent.php
··· 1024 1024 1025 1025 $set = new PhutilCalendarRecurrenceSet(); 1026 1026 1027 + if ($this->viewerTimezone) { 1028 + $set->setViewerTimezone($this->viewerTimezone); 1029 + } 1030 + 1027 1031 $rrule = $this->newRecurrenceRule(); 1028 1032 if (!$rrule) { 1029 1033 return null;