Re: DateRangeField and Timezone

2017-07-20 Thread Ulul
Hi Got it thanks to debug option TZ applies only to date computations, so you have to compute a date :) The document {"date" : "2016-12-31T04:15:00Z", "desc" : "winter time day before" } is retrieved with query date:[2016-12-31T12:15:00Z/DAY TO 2017-01-03T12:15:00Z/DAY] and

DateRangeField and Timezone

2017-07-19 Thread Ulul
Hi everyone I'm trying to query on dates with time zone taken into account. I have the following document {"date" : "2016-12-31T04:15:00Z", "desc" : "winter time day before" } date being of type DateRangeField I would like to be able to perform a query based on local date. For instance the