mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-27 21:15:44 +00:00
set userTimeZone if event has no tz
This commit is contained in:
1 parent
d76a4361a0
commit
08427e0bfb
1 file changed
+1
-1
@@ -127,7 +127,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
tz = [(iCalDateTime *)[self firstChildWithTag: @"dtstart"] timeZone];
|
||||
|
||||
if (!tz)
|
||||
tz = [iCalTimeZone timeZoneForName: @"Europe/London"];
|
||||
tz = [iCalTimeZone timeZoneForName: [userTimeZone name]]
|
||||
|
||||
[s appendFormat: @"<TimeZone xmlns=\"Calendar:\">%@</TimeZone>", [tz activeSyncRepresentationInContext: context]];
|
||||
|
||||
|
||||
Reference in new issue
Block a user