Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BBF5D200D54 for ; Fri, 24 Nov 2017 06:00:24 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B0C27160C10; Fri, 24 Nov 2017 05:00:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 01EFA160BFE for ; Fri, 24 Nov 2017 06:00:23 +0100 (CET) Received: (qmail 81961 invoked by uid 500); 24 Nov 2017 05:00:21 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 81948 invoked by uid 99); 24 Nov 2017 05:00:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2017 05:00:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A00DD180070 for ; Fri, 24 Nov 2017 05:00:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.151 X-Spam-Level: X-Spam-Status: No, score=-0.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zbqixjVMotGn for ; Fri, 24 Nov 2017 05:00:19 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 767405FDCE for ; Fri, 24 Nov 2017 05:00:19 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id l138so14355968oib.7 for ; Thu, 23 Nov 2017 21:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=grtCZ/a0fcpTpmhG00nKL5HU2XGdDIUaZgRTZVd4VhM=; b=ZVlgaix7MiAiR0JDTHXX2e0To1P/50olWzky8M8AcznBcx3gmf9awYCsIiMp9Ri4E8 HEeAmw2yHk1NUHRM21wIjYWvonyrU3qP6Fx5WWrhlhXyckXuGgqhD05xZLDmj4ykhdOH 5N9vOsP5qPFZusIq3T8eyIGgC5vXLG1lL+XV2017CJ92WpLp+W5Cs4mj7q4xdcL6uRZy 3qwdqgiL1RLhhK7aY+tMSQEbw5J+4n41rzFioDh4Y+2fArJv+pDx7RzeORF/d4sEGpEl YO4AI16bXbIXxCsws5D1GgRyWtNpI18jBuGtMRQQyR2ua4xabcXTSkjz5f5YRb5M2hYK 64TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=grtCZ/a0fcpTpmhG00nKL5HU2XGdDIUaZgRTZVd4VhM=; b=VvK9Tf9dnG7/qujY6SLMUSgh8zXQd0uzlzvKg3jPIDwBbRbZXJtppfxcQ+8Xn0OQo5 rjsMSdPifdNjKrKxr9sBoX6ZbOE76NV9emOHrd6DgFA6V9Ijtd975sX3RVuywgzCr/hC 1eE9na7S3D/N1AjXk4FlNcXkbtUzlXQbZFXf4Zw1kutbUHdxV5D2p32gomFCVsPRuVjN UG7y4fw2Fzb9wHcg+4oqVEqzfu1TBsTpQtuxhSFBpsWuwCoMr6WeUsNkuTP2AtcmyHH+ OrVBRAElA2iUCgUDg3i9s4xlV78X8b6Ec3B0uPeb2OmUg+IDU9bUoeYMpvxcdzru4d4z 5rvw== X-Gm-Message-State: AJaThX6azrb42gqfC1m760FIFnTE1toGCpTgnoEj/v6Fa9hpKV8T/e4g Nn86XcBSizXjbhOgTwBoxh4yF41JRQxx9wphKSG3DA== X-Google-Smtp-Source: AGs4zMbbgTSaTcQ0HfOexDIuGrsQuLkbpgzUAHoZl+Gme2k8UnkPLIQPSzzJgXocNRd6AIqY9xFibfnpsiqTERUqEE4= X-Received: by 10.202.74.87 with SMTP id x84mr7564574oia.278.1511499612834; Thu, 23 Nov 2017 21:00:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.20.101 with HTTP; Thu, 23 Nov 2017 21:00:12 -0800 (PST) In-Reply-To: References: <970db939-6ede-e0c6-0844-121a9cc4beb9@elyograg.org> From: Renuka Srishti Date: Fri, 24 Nov 2017 10:30:12 +0530 Message-ID: Subject: Re: TimeZone issue To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="001a1134e25a80513e055eb36d01" archived-at: Fri, 24 Nov 2017 05:00:24 -0000 --001a1134e25a80513e055eb36d01 Content-Type: text/plain; charset="UTF-8" Yes, we have TZ parameter for that which worked only for date math. I need to convert the date time zone on the client side. Thanks Renuka Srishti On Thu, Nov 16, 2017 at 8:51 PM, Shawn Heisey wrote: > On 11/16/2017 4:54 AM, Renuka Srishti wrote: > >> Thanks for your response Shawn. I know it deals with UTC only, but it will >> be great if we can change the date timeZone in solr response. As I am >> using >> Solr CSV feature and it will be helpful if the date field in the CSV >> result >> can convert into client TimeZone. Please suggest if you have any alternate >> for this. >> > > 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 sure that it is *only* to correctly support date math -- so Solr > knows what time each day starts for date rounding like NOW/DAY and > NOW/WEEK. I have never heard of any feature that applies timezones to date > information in responses. > > Timezone conversion of dates in Solr responses is something you need to do > in the client, and should be trivial for most web development programming > languages. > > Thanks, > Shawn > > --001a1134e25a80513e055eb36d01--