delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/08/10:07:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=i2oX0zvSzZOqctynDfo9DFUlKKCHPmUHFKJUn/uqm401ltAZsg+fj
sT6NiY8+CoA8vz7XDFeLYirpO4NPlQUIfhEMY4JB1oO0oIWwyNwngx67QGWp/7aa
lEAJvoMo0ehmLtSFjFXVOnLx63yP/lHpN4tLN7KVjNqoqax+2IkvIw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=EpXuhSKcIc1RoNFvOfI6Ln1GeRM=; b=WkmcDeU40ooloe03Z6N0J5XnTvwY
uSrDTO7ubDE4rfHAhaxxQx5F71C9v5zs4o7Rtiasmrzqzck5WliDxUc00slHx53V
EkW59Loc2kq9q2nkyUp1UXQ3YrcszzhR7gZyykstX56/+j9BtQC7QooLrZlvPAj3
fTELLEUhyMo6jrQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Siv <sivakumarjr AT gmail DOT com>
Subject: Re: Cygwin date displays only GMT on Win7
Date: Wed, 8 Jul 2015 14:07:23 +0000 (UTC)
Lines: 46
Message-ID: <loom.20150708T155234-134@post.gmane.org>
References: <loom DOT 20150707T180946-14 AT post DOT gmane DOT org> <559C0744 DOT 8050602 AT gmail DOT com> <loom DOT 20150707T210625-784 AT post DOT gmane DOT org> <loom DOT 20150707T214349-494 AT post DOT gmane DOT org> <559C38DF DOT 9010602 AT gmail DOT com> <559C40BE DOT 7050101 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Marco Atzeri <marco.atzeri <at> gmail.com> writes:

> 
> On 7/7/2015 10:38 PM, Marco Atzeri wrote:
> > On 7/7/2015 9:50 PM, Siv wrote:
> >> Siv <sivakumarjr <at> gmail.com> writes:
> >>
> 
> >>
> >> $ date --date='TZ="Asia/Calcutta"'
> >> 06 Jul 2015 06:30:00 PM
> >
> > Wrong town ?
> 
> tzselect suggests
> ----------------------------
> #? 14
> 
> The following information has been given:
> 
>          India
> 
> Therefore TZ='Asia/Kolkata' will be used.
> ------------------------------
> 
> In theory Asia/Calcutta should be an alias for Asia/Kolkata;
> but it seems to not work properly.
> 
> Regards
> Marco
> 
> 

date --date='TZ="ANYTHING" isn't working as expected 
Thanx. Anyway the last 2 cmds worked : 

date                                      Wed, Jul 08, 2015  2:03:12 PM
date -u                                   Wed, Jul 08, 2015  2:03:13 PM
date --date='TZ="Asia/Delhi"'             Wed, Jul 08, 2015 12:00:00 AM
date --date='TZ="Asia/Calcutta"'          Tue, Jul 07, 2015  6:30:00 PM
date --date='TZ="Asia/Kolkata"'           Tue, Jul 07, 2015  6:30:00 PM
TZ=Asia/Delhi date                        Wed, Jul 08, 2015  2:03:14 PM
TZ=Asia/Kolkata date                      Wed, Jul 08, 2015  7:33:15 PM
TZ=Asia/Calcutta date                     Wed, Jul 08, 2015  7:33:15 PM




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019