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 7C4D02004F2 for ; Sat, 26 Aug 2017 09:28:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7ABAD16404B; Sat, 26 Aug 2017 07:28:19 +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 E7D5A16401C for ; Sat, 26 Aug 2017 09:28:18 +0200 (CEST) Received: (qmail 84331 invoked by uid 500); 26 Aug 2017 07:28:17 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 84318 invoked by uid 99); 26 Aug 2017 07:28:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2017 07:28:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 700CFE7DFB; Sat, 26 Aug 2017 07:28:16 +0000 (UTC) From: szq80140 To: dev@phoenix.apache.org Reply-To: dev@phoenix.apache.org Message-ID: Subject: [GitHub] phoenix pull request #270: `DEFAULT_TIME_ZONE_ID` should take value from `Ti... Content-Type: text/plain Date: Sat, 26 Aug 2017 07:28:16 +0000 (UTC) archived-at: Sat, 26 Aug 2017 07:28:19 -0000 GitHub user szq80140 opened a pull request: https://github.com/apache/phoenix/pull/270 `DEFAULT_TIME_ZONE_ID` should take value from `TimeZone.getDefault().getID()` instead of constant `GMT` `DEFAULT_TIME_ZONE_ID` should take value from `TimeZone.getDefault().getID()` instead of constant `GMT`, so that all `DATE` and `TIMESTAMP` column values are formatted using timezone configured in JVM. You can merge this pull request into a Git repository by running: $ git pull https://github.com/szq80140/phoenix 4.11-HBase-1.1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/phoenix/pull/270.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #270 ---- commit 1b15f5723ec90586661fd26a515edaf470428f09 Author: sunzhiqiang Date: 2017-08-25T10:47:26Z change default timezone to java default ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---