projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libical3 compatibility , patches submitted by Adrian Bunk
[citadel.git]
/
webcit
/
ical_dezonify.c
diff --git
a/webcit/ical_dezonify.c
b/webcit/ical_dezonify.c
index 537bcc3e15770937187811de6e987baa6918767d..de444a9d5522a791e5a56083c0195b9de0323dcf 100644
(file)
--- a/
webcit/ical_dezonify.c
+++ b/
webcit/ical_dezonify.c
@@
-116,7
+116,7
@@
void ical_dezonify_backend(icalcomponent *cal,
syslog(LOG_DEBUG, " * Was: %s\n", icaltime_as_ical_string(TheTime));
#endif
syslog(LOG_DEBUG, " * Was: %s\n", icaltime_as_ical_string(TheTime));
#endif
- if (
TheTime.is_utc
) {
+ if (
icaltime_is_utc(TheTime)
) {
#ifdef DBG_ICAL
syslog(LOG_DEBUG, " * This property is ALREADY UTC.\n");
#endif
#ifdef DBG_ICAL
syslog(LOG_DEBUG, " * This property is ALREADY UTC.\n");
#endif
@@
-126,7
+126,7
@@
void ical_dezonify_backend(icalcomponent *cal,
#ifdef DBG_ICAL
syslog(LOG_DEBUG, " * Replacing '%s' TZID with 'Z' suffix.\n", tzid);
#endif
#ifdef DBG_ICAL
syslog(LOG_DEBUG, " * Replacing '%s' TZID with 'Z' suffix.\n", tzid);
#endif
- TheTime.
is_utc = 1
;
+ TheTime.
zone = icaltimezone_get_utc_timezone()
;
}
else {
}
else {
@@
-146,7
+146,7
@@
void ical_dezonify_backend(icalcomponent *cal,
t = get_default_icaltimezone();
}
icaltimezone_convert_time(&TheTime, t, icaltimezone_get_utc_timezone());
t = get_default_icaltimezone();
}
icaltimezone_convert_time(&TheTime, t, icaltimezone_get_utc_timezone());
- TheTime.
is_utc = 1
;
+ TheTime.
zone = icaltimezone_get_utc_timezone()
;
}
icalproperty_remove_parameter_by_kind(prop, ICAL_TZID_PARAMETER);
}
icalproperty_remove_parameter_by_kind(prop, ICAL_TZID_PARAMETER);