summaryrefslogtreecommitdiff
path: root/check_ical.c
diff options
context:
space:
mode:
Diffstat (limited to 'check_ical.c')
-rw-r--r--check_ical.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/check_ical.c b/check_ical.c
index c0757f6..1bf3558 100644
--- a/check_ical.c
+++ b/check_ical.c
@@ -36,6 +36,8 @@ main(void)
icalcomponent *c = icalcompiter_deref(&i);
struct icaltimetype dts = icalcomponent_get_dtstart(c);
+ icaltimezone *utc = icaltimezone_get_utc_timezone();
+ dts = icaltime_convert_to_zone(dts, utc);
printf("%02u-%02u-%02u ", dts.year, dts.month,
dts.day);
printf("%02u:%02u ", dts.hour, dts.minute);