On Dienstag, 9. Februar 2010, jeroen De Dauw wrote:
> Hey,
> I got the latest SMW code from SVN today and updated my wiki. A few queries
>  are now broken though. These queries all compare a property of type date
>  using the #time parser function. This parser function is showing "Error:
>  invalid time" instead of the expected behaviour. See [
>  http://ext.bn2vs.com/smw-query-fail.GIF ] for an example. This is not
>  occuring on my live wiki, which has the same content, but an older version
>  of SMW, see [ http://wiki.bn2vs.com/Main_Page ].
> Obviously the error is a result of the change made to the way the property
>  is displayed (it used to be a plain string, while now it'll show a pop-up
>  on mouse over). Is there a way to get the plain text version, or another
>  way of creating a query with some date/time selection?

Try using the "plain" output format for the Date property printout. For 

| ?my date property#

For Type:Date, it should be equivalent to use "#ISO" instead of "#" (the plain 
format is the ISO date format).

If this fails, then this is a bug in a recent update we made to Type:Date, and 
we need to fix it.



> Cheers
> --
> Jeroen De Dauw
> * Wiki: wiki.bn2vs.com
> * Blog: blog.bn2vs.com
> * Skype: rts.bn.vs
> --
> Don't panic. Don't be evil.70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69
>  66 65!

Markus Krötzsch  <mar...@semantic-mediawiki.org>
* Personal page: http://korrekt.org
* Semantic MediaWiki: http://semantic-mediawiki.org
* Semantic Web textbook: http://semantic-web-book.org

Attachment: signature.asc
Description: This is a digitally signed message part.

The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
Semediawiki-devel mailing list

Reply via email to