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



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?

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]