aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/comp-editor-factory.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f0dc8799c8..2cf9d09cb4 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-20 JP Rosevear <jpr@ximian.com>
+
+ * gui/comp-editor-factory.c (get_default_event): make sure to get
+ the date in the current zone, not at UTC
+
2002-08-19 JP Rosevear <jpr@ximian.com>
* gui/e-itip-control.c (set_date_label): stop adding redundant
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index cd7578faf3..b3c0c9edb1 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -315,7 +315,7 @@ get_default_event (gboolean all_day)
zone = icaltimezone_get_builtin_timezone (location);
if (all_day) {
- itt = icaltime_today ();
+ itt = icaltime_from_timet_with_zone (time (NULL), 1, zone);
dt.value = &itt;
dt.tzid = icaltimezone_get_tzid (zone);