Re: [Tracker] How to get newly added audio files?





2011/4/15 Philip Van Hoof <philip codeminded be>
On Fri, 2011-04-15 at 10:27 +0900, simon hong wrote:

Hey Simon,

> SELECT MAX (?t) WHERE { ?u a nmm:MusicPiece; tracker:added ?t }
> The result is string formatted xsd:dateTime.
> I want to convert above result to another format like timezone.
> So, I made following query to convert xsd:dateTime, But tracker-sparql
> returns (null)...

Sounds like a bug to me. Can you file one?

I reported this issue to bugzilla Bug 647877.
 

> SELECT fn:timezone-from-dateTime (?t) WHERE { ?u a nmm:MusicPiece;
> tracker:added ?t }

Cheers,

Philip


--


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]