*/
icaltimezone *get_default_icaltimezone(void) {
- char *location = NULL;
icaltimezone *zone = NULL;
-
-
/*
This doesn't even belong here.
I'm just keeping it here until I put it somewhere permanent.
}
*/
-
- location = "America/New_York";
- if (location) {
- zone = icaltimezone_get_builtin_timezone(location);
- }
+ if (!zone) {
+ zone = icaltimezone_get_builtin_timezone(config.c_default_cal_zone);
+ }
if (!zone) {
zone = icaltimezone_get_utc_timezone();
}