From 08427e0bfb8bba2fd273443558a6832ac1ac0cc5 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 30 Oct 2014 18:58:52 -0400 Subject: [PATCH] set userTimeZone if event has no tz --- ActiveSync/iCalEvent+ActiveSync.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActiveSync/iCalEvent+ActiveSync.m b/ActiveSync/iCalEvent+ActiveSync.m index 1443df2c3..522a40782 100644 --- a/ActiveSync/iCalEvent+ActiveSync.m +++ b/ActiveSync/iCalEvent+ActiveSync.m @@ -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: @"%@", [tz activeSyncRepresentationInContext: context]];