Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 881A118466 for ; Fri, 12 Feb 2016 23:50:18 +0000 (UTC) Received: (qmail 68907 invoked by uid 500); 12 Feb 2016 23:50:18 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 68871 invoked by uid 500); 12 Feb 2016 23:50:18 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 68854 invoked by uid 99); 12 Feb 2016 23:50:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 23:50:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 355F32C1F5B for ; Fri, 12 Feb 2016 23:50:18 +0000 (UTC) Date: Fri, 12 Feb 2016 23:50:18 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10397) Add local timezone support to cqlsh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paulo Motta updated CASSANDRA-10397: ------------------------------------ Summary: Add local timezone support to cqlsh (was: CQLSH not displaying correct timezone) > Add local timezone support to cqlsh > ----------------------------------- > > Key: CASSANDRA-10397 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10397 > Project: Cassandra > Issue Type: Bug > Environment: Ubuntu 14.04 LTS > Reporter: Suleman Rai > Assignee: Stefan Podkowinski > Labels: cqlsh > > CQLSH is not adding the timezone offset to the timestamp after it has been inserted into a table. > create table test(id int PRIMARY KEY, time timestamp); > INSERT INTO test(id,time) values (1,dateof(now())); > select *from test; > id | time > ----+--------------------- > 1 | 2015-09-25 13:00:32 > It is just displaying the default UTC timestamp without adding the timezone offset. It should be 2015-09-25 21:00:32 in my case as my timezone offset is +0800. -- This message was sent by Atlassian JIRA (v6.3.4#6332)