aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c10
-rw-r--r--calendar/conduits/todo/todo-conduit.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 10bf56c404..da3a9f2fab 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -519,7 +519,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
{
CalComponent *comp;
struct Appointment appt;
- struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, FALSE), it;
+ struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, TRUE), it;
struct icalrecurrencetype recur;
int pos, i;
CalComponentText summary = {NULL, NULL};
@@ -559,7 +559,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
}
if (!is_empty_time (appt.begin)) {
- it = icaltime_from_timet (mktime (&appt.begin), FALSE, FALSE);
+ it = icaltime_from_timet (mktime (&appt.begin), FALSE, TRUE);
dt.value = ⁢
cal_component_set_dtstart (comp, &dt);
}
@@ -568,11 +568,11 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
time_t t = mktime (&appt.begin);
t = time_day_end (t);
- it = icaltime_from_timet (t, FALSE, FALSE);
+ it = icaltime_from_timet (t, FALSE, TRUE);
dt.value = ⁢
cal_component_set_dtend (comp, &dt);
} else if (!is_empty_time (appt.end)) {
- it = icaltime_from_timet (mktime (&appt.end), FALSE, FALSE);
+ it = icaltime_from_timet (mktime (&appt.end), FALSE, TRUE);
dt.value = ⁢
cal_component_set_dtend (comp, &dt);
}
@@ -632,7 +632,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
if (!appt.repeatForever) {
time_t t = mktime (&appt.repeatEnd);
t = time_add_day (t, 1);
- recur.until = icaltime_from_timet (t, FALSE, FALSE);
+ recur.until = icaltime_from_timet (t, FALSE, TRUE);
}
list = g_slist_append (list, &recur);
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 236345afa1..2ef5bc0b76 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -395,7 +395,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
{
CalComponent *comp;
struct ToDo todo;
- struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, FALSE);
+ struct icaltimetype now = icaltime_from_timet (time (NULL), FALSE, TRUE);
CalComponentText summary = {NULL, NULL};
CalComponentDateTime dt = {NULL, NULL};
struct icaltimetype due;
@@ -444,7 +444,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit,
*/
if (todo.due.tm_sec || todo.due.tm_min || todo.due.tm_hour
|| todo.due.tm_mday || todo.due.tm_mon || todo.due.tm_year) {
- due = icaltime_from_timet (mktime (&todo.due), FALSE, FALSE);
+ due = icaltime_from_timet (mktime (&todo.due), FALSE, TRUE);
dt.value = &due;
cal_component_set_due (comp, &dt);
}