aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/eventedit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index 5f728793ba..f5deee298f 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -938,12 +938,10 @@ ee_rp_init_rule (EventEditor *ee)
GSList *group;
int i, page, day_period, week_period, month_period, year_period;
int week_vector, default_day, def_pos, def_off;
- time_t now;
struct tm *tm;
- now = time (NULL);
- tm = localtime (&now);
-
+ tm = localtime (&ee->ical->dtstart);
+
f = gtk_frame_new (_("Recurrence rule"));
hbox = gtk_hbox_new (FALSE, 4);