IMO you will save yourself endless grief just biting the bullet and working
with UTC
at all times. The instant you have uses in even adjacent but different time
zones,
you'll have to deal with this anyway.

FWIW,
Erick


On Thu, Nov 14, 2013 at 12:26 AM, Jack Krupansky <j...@basetechnology.com>wrote:

> I believe it is the TZ column from this table:
> http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
>
> Yeah, it's on my TODO list for my book.
>
> I suspect that "tz" will not affect "NOW", which is probably UTC. I
> suspect that "tz" only affects literal dates in date math.
>
> -- Jack Krupansky
>
> -----Original Message----- From: Eric Katherman
> Sent: Wednesday, November 13, 2013 11:38 PM
> To: solr-user@lucene.apache.org
> Subject: queries including time zone
>
>
> Can anybody provide any insight about using the tz param? The behavior of
> this isn't affecting date math and /day rounding.  What format does the tz
> variables need to be in?  Not finding any documentation on this.
>
> Sample query we're using:
>
> path=/select params={tz=America/Chicago&sort=id+desc&start=0&q=
> application_id:51b30ed9bc571bd96773f09c+AND+object_key:object_26+AND+
> values_field_215_date:[*+TO+NOW/DAY%2B1DAY]&wt=json&rows=25}
>
> Thanks!
> Eric=
>

Reply via email to