Re: [SMW-devel] "now" is no longer valid in date comparisons

2009-03-03 Thread Sergey Chernyshev
Not sure what's more important though considering that PHP (tool you used to resolve this stuff ) is not internationalized. Sergey On Tue, Mar 3, 2009 at 12:36 PM, Markus Krötzsch < mar...@semantic-mediawiki.org> wrote: > On Dienstag, 3. März 2009, Sergey Chernyshev wrote: > > I noti

Re: [SMW-devel] Adding 'headers' parameter to CSV format

2009-03-03 Thread Yaron Koren
Alright, since no one objected (and there was some support), I added in code to SMW that prints out a header row for the CSV format, conveniently suitable for the "CSV with header" option in the External Data extension. If you're using the very latest version, you can get rid of the header row by a

Re: [SMW-devel] "now" is no longer valid in date comparisons

2009-03-03 Thread Markus Krötzsch
On Dienstag, 3. März 2009, Sergey Chernyshev wrote: > I noticed another problem when upgrading to latest SMW - "now" is no longer > a valid word in date comparisons. > I'll have to reverse back to using > > {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} > > in queries. Don't know if it was a consc

[SMW-devel] "now" is no longer valid in date comparisons

2009-03-03 Thread Sergey Chernyshev
I noticed another problem when upgrading to latest SMW - "now" is no longer a valid word in date comparisons. I'll have to reverse back to using {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} in queries. Don't know if it was a conscious decision or not, but it was a nice shortcut. Thank you,