Re: [SMW-devel] Patch to make SMW output ISO8601 dates

2009-03-04 Thread Patrick Nagel
Hi Markus, On 2009-03-05 03:09, Markus Krötzsch wrote: >> Could something like this be included in SMW? > > Yes. I suggest a slightly different control interface, though. The output is > only a problem for #ask queries, right? My suggestion is to use the existing > "printout modifier" mechanism

Re: [SMW-devel] Patch to make SMW output ISO8601 dates

2009-03-04 Thread Markus Krötzsch
On Mittwoch, 4. März 2009, Patrick Nagel wrote: > Hi, > > since I need our SMW to output ISO8601 date output (see [1]) I wrote a > quick patch to SMW_DV_Time.php that honours the (newly introduced) > $smwgISO8601DateOutput variable. > > Could something like this be included in SMW? Yes. I suggest

[SMW-devel] Patch to make SMW output ISO8601 dates

2009-03-04 Thread Patrick Nagel
Hi, since I need our SMW to output ISO8601 date output (see [1]) I wrote a quick patch to SMW_DV_Time.php that honours the (newly introduced) $smwgISO8601DateOutput variable. Could something like this be included in SMW? Patrick. [1]: http://sourceforge.net/mailarchive/forum.php?thread_nam

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

2009-03-04 Thread Patrick Nagel
Hi, On 2009-03-04 04:46, Yaron Koren wrote: > 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 ver