From: Art Cancro Date: Tue, 18 Jul 2006 03:24:37 +0000 (+0000) Subject: more timezone hacking. this will work eventually. X-Git-Tag: v7.86~3983 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=414eec778eeca798b131b44a7d96cf7947f57c0b more timezone hacking. this will work eventually. --- diff --git a/citadel/ical_dezonify.c b/citadel/ical_dezonify.c index d83cbc35b..d7fb47670 100644 --- a/citadel/ical_dezonify.c +++ b/citadel/ical_dezonify.c @@ -39,6 +39,21 @@ 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. + + icalarray *zones; + int i; + zones = icaltimezone_get_builtin_timezones(); + for (i = 0; i < zones->num_elements; i++) { + lprintf(CTDL_DEBUG, "%s\n", icaltimezone_get_location(icalarray_element_at(zones, i))); + } + */ + + location = "America/New_York"; if (location) { zone = icaltimezone_get_builtin_timezone(location);