From 3b9f2aa1283ec1908082ad55919236c35d4aa8da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Fri, 7 Nov 2014 20:34:45 -0500 Subject: [PATCH] window: set timezone of date when moving to today --- src/gcal-window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gcal-window.c b/src/gcal-window.c index 68fced3a..b4e4678d 100644 --- a/src/gcal-window.c +++ b/src/gcal-window.c @@ -272,6 +272,10 @@ date_updated (GtkButton *button, *(priv->active_date) = icaltime_current_time_with_zone ( gcal_manager_get_system_timezone (priv->manager)); + *(priv->active_date) = + icaltime_set_timezone ( + priv->active_date, + gcal_manager_get_system_timezone (priv->manager)); } else {