diff options
author | Milan Crha <mcrha@redhat.com> | 2014-03-06 22:30:55 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-03-06 22:30:55 +0800 |
commit | 3048de0d913db3a3ca16856e7b0c1e99512b22c5 (patch) | |
tree | 3a452318b2e79ab0aa9c2a75385332f271616559 /calendar/gui/comp-util.c | |
parent | ddffaf3bcef9daf894e85911cd6179b9458ee502 (diff) | |
download | gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.tar gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.tar.gz gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.tar.bz2 gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.tar.lz gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.tar.xz gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.tar.zst gsoc2013-evolution-3048de0d913db3a3ca16856e7b0c1e99512b22c5.zip |
Bug #711658 - Time zone for new events sometimes defaults to UTC
Diffstat (limited to 'calendar/gui/comp-util.c')
-rw-r--r-- | calendar/gui/comp-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c index a85bc921ea..16dfd5d85a 100644 --- a/calendar/gui/comp-util.c +++ b/calendar/gui/comp-util.c @@ -384,7 +384,7 @@ cal_comp_event_new_with_current_time (ECalClient *client, default_reminder_interval, default_reminder_units); g_return_val_if_fail (comp != NULL, NULL); - zone = e_cal_client_get_default_timezone (client); + zone = calendar_config_get_icaltimezone (); if (all_day) { itt = icaltime_from_timet_with_zone (time (NULL), 1, zone); |