aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index 44df93832a..899c953723 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -81,7 +81,7 @@ ok_button (GtkWidget *widget, GnomeDialog *dialog)
due_date = GNOME_DATE_EDIT (gtk_object_get_data(GTK_OBJECT(dialog), "due_date"));
d = gnome_date_edit_get_date (due_date);
date.value = g_new0 (struct icaltimetype, 1);
- *date.value = icaltimetype_from_timet (d, 1);
+ *date.value = icaltime_from_timet (d, 1, TRUE);
cal_component_set_dtend (comp, &date);
/* Summary */