On Sat, 2003-11-29 at 18:12, JP Rosevear wrote:
> On Sat, 2003-11-29 at 15:30, William Jon McCann wrote:
> > Hi,
> >
> > I'm almost done with a panel clock / calendar integration patch. I am
> > having a bit of trouble getting recurrences to work. I'm trying to use
> > e_cal_generate_instances. However, I can't get it to find any objects.
> > I think I have tracked it down to the following:
> >
> > query = g_strdup_printf ("(occur-in-time-range? (%lu) (%lu))",
> > start, end);
> > e_cal_get_object_list (ecal, query, &objects, NULL);
> >
> > Returns an error, while
> >
> > query = g_strdup_printf ("(occur-in-time-range? %lu %lu)",
> > start, end);
> > e_cal_get_object_list (ecal, query, &objects, NULL);
> >
> > Doesn't return an error but finds no objects, while
> >
> > iso_start = isodate_from_time_t (start);
> > iso_end = isodate_from_time_t (end);
> > query = g_strdup_printf ("(occur-in-time-range? (make-time \"%s\")
> > (make-time \"%s\"))"
> > iso_start, iso_end);
> > e_cal_get_object_list (ecal, query, &objects, NULL);
> >
> > finds objects.
> >
> > Am I doing something wrong?
>
> Nope, I think I missed implementing direct time_t searches in the
> backend sexp stuff - can you submit a patch to libecal to fix this?
To do the iso_start and iso_end thing in e-cal i mean.
-JP
--
JP Rosevear <[EMAIL PROTECTED]>
Ximian, Inc.
_______________________________________________
evolution-hackers maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers