X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fical_dezonify.c;h=34c0e4bff64e77c381d6a9f3e44c300af1fb3cab;hp=41c67a7e7556261649db1aac46e37e2b7f7e6d6e;hb=1ce87e9f74acae1f6c294bc19189542b859a466b;hpb=a70d92c76251e9a8a3f16ab1b2783129ead420b7 diff --git a/citadel/ical_dezonify.c b/citadel/ical_dezonify.c index 41c67a7e7..34c0e4bff 100644 --- a/citadel/ical_dezonify.c +++ b/citadel/ical_dezonify.c @@ -2,6 +2,16 @@ * Function to go through an ical component set and convert all non-UTC * date/time properties to UTC. It also strips out any VTIMEZONE * subcomponents afterwards, because they're irrelevant. + * + * Copyright (c) 1987-2015 by the citadel.org team + * + * This program is open source software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. */ @@ -34,8 +44,7 @@ icaltimezone *get_default_icaltimezone(void) { icaltimezone *zone = NULL; - char *default_zone_name = config.c_default_cal_zone; - //char *default_zone_name = "America/New_York"; + char *default_zone_name = CtdlGetConfigStr("c_default_cal_zone"); if (!zone) { zone = icaltimezone_get_builtin_timezone(default_zone_name);