mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
bug 333717: don't convert to utc when reading an ics entry. r=dmose
This commit is contained in:
parent
feccd517d6
commit
1812f04b05
@ -670,9 +670,7 @@ calIcalComponent::Get##Attrname(calIDateTime **dtp) \
|
||||
NS_WARNING("Can't find specified VTIMEZONE in VCALENDAR!"); \
|
||||
return NS_ERROR_FAILURE; \
|
||||
} \
|
||||
icaltimezone_convert_time(&itt, zone, icaltimezone_get_utc_timezone()); \
|
||||
itt.is_utc = 1; \
|
||||
itt.zone = icaltimezone_get_utc_timezone(); \
|
||||
itt.zone = zone; \
|
||||
} \
|
||||
dt = new calDateTime(&itt); \
|
||||
if (!dt) \
|
||||
|
Loading…
Reference in New Issue
Block a user