On Mi, 2010-09-08 at 17:49 +0200, Patrick Ohly wrote:
> On Wed, 2010-09-08 at 14:29 +0100, Álvaro Manera wrote:
> > On Wednesday 08 September 2010 15:41:31 ext Patrick Ohly wrote:
> > > I was thinking of the other direction: find something in Tracker, open
> > > it in mkcal. Is that possible?
> > > 
> > 
> > It is "possible". But the logic it is in the application using mkcal. So 
> > you 
> > get the uri from tracker (the way you want) parse it, if it is only Id you 
> > can 
> > load it from mkcal if not, take the recurrenceId and open it.
> 
> How do you suggest that the app logic solves the problem that I
> mentioned above (reconstruct recurrenceId)? In particular the last part
> with "take the recurrenceId"? You haven't commented whether passing a
> KDateTime with UTC will be good enough to find an event which is not in
> UTC.

That question was still open. A version of mkcal with Tracker support
was added to MeeGo Trunk recently, so I verified whether KDateTime in
UTC is sufficient.

I'm happy to report that it works, both in SqliteStorage::load(uid,rid)
and in Calendar::incidence(uid,rid). rid in UTC matches an incidence
which has a RECURRENCE-ID in a specific time zone.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to