: : As I said before, I do not think that Solr will use timezones for date display : -- ever. Solr does support timezones in certain circumstances, but I'm pretty
One possibility that has been discussed in the pst is the idea of a "Date Formatting DocTransformer" that would always return a String in the specified format (regardless of the ResponseWriter and any native support for Dates it has, ala javabin or xml). That would be a fairly straight forward plugin to write if someone was so inclined -- the hardest part would be deciding on the syntax, so that you could specify the clients prefered format, timezone, locale, etc.... But then folks who really want to pass off Solr's csv/json/whatever responsewriter format directly to an end consumer could control that. (likewise we could imagine a "Number Formatting DocTransformer" that would do the same thing for people that really want their Integer's to come back as "1,234,567" or their floats to be formated to exactly 4 decimal places, etc...) -Hoss http://www.lucidworks.com/