Re: [SMW-devel] Date property type
On Dienstag, 9. Februar 2010, jeroen De Dauw wrote: > Hey, > > Adding #ISO or # is changing the contents of the pop-up, but is not > resulting in plain text, so the error remains. This is a bug then that needs to be fixed. You can downgrade the file SMW_DV_Time.php to its previous revision as a workaround. -- Markus > > > 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! > > > > > > > From: Markus Krötzsch > To: semediawiki-devel@lists.sourceforge.net > Cc: jeroen De Dauw > Sent: Tue, February 9, 2010 6:19:34 PM > Subject: Re: [SMW-devel] Date property type > > 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 > example: > > ... > > | ?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, > > Markus > > > 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 * Personal page: http://korrekt.org * Semantic MediaWiki: http://semantic-mediawiki.org * Semantic Web textbook: http://semantic-web-book.org -- signature.asc Description: This is a digitally signed message part. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Date property type
Hey, Adding #ISO or # is changing the contents of the pop-up, but is not resulting in plain text, so the error remains. 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! From: Markus Krötzsch To: semediawiki-devel@lists.sourceforge.net Cc: jeroen De Dauw Sent: Tue, February 9, 2010 6:19:34 PM Subject: Re: [SMW-devel] Date property type 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 example: ... | ?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, Markus > > > 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 * Personal page: http://korrekt.org * Semantic MediaWiki: http://semantic-mediawiki.org * Semantic Web textbook: http://semantic-web-book.org -- -- 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. http://p.sf.net/sfu/theplanet-com___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Date property type
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 example: ... | ?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, Markus > > > 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 * Personal page: http://korrekt.org * Semantic MediaWiki: http://semantic-mediawiki.org * Semantic Web textbook: http://semantic-web-book.org -- 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. http://p.sf.net/sfu/theplanet-com___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Date property type
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? 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! -- 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. http://p.sf.net/sfu/theplanet-com___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel