delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/07/15:40:07

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=xJ6DPR9G3gJ+E83cZ2Hr3pBdUP5ysngxr6zhKkb4B0VxVdcygQg9N
2pj6Ww4u4gzUhQOLDhNKpcya3muriscwtuOTJKnwgLY9yol5cF2cDIQIUS9N6ObJ
EONWH4/H4XgWLqzTKdnNdvc9RzeHPp1aY87d4BIcGvFbxayje7etj0=
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=QTVmpIeBL62B0PsKJJNL8jBxVyY=; b=NvMFiG34o2tEM4Q2Qe8JY0X7TmNp
Pu6YEaWX+kc1lCIHQTMr0zK2aLIjk6vReOYfDCbHQ7Ow3HKXDy0pfL/yctBJ7xKu
BWrY2eB0Tz4vGP+0WKkssCxgxUElFZbDK34zzahOphdhabxQ/892rY31mJnJ3SFM
a9Wj9pjsKuuRfa8=
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=1.1 required=5.0 tests=BAYES_05,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: Tue, 7 Jul 2015 19:39:37 +0000 (UTC)
Lines: 75
Message-ID: <loom.20150707T210625-784@post.gmane.org>
References: <loom DOT 20150707T180946-14 AT post DOT gmane DOT org> <559C0744 DOT 8050602 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 6:39 PM, Siv wrote:
> > Hi, I just moved to Win7 from XP and installed Cygwin :
> >
> > Cygwin1.dll properties :
> > File Version : 1007.28.0.0
> > Product Version : 1.7.28
> > Date Modified : 04-02-2014
> 
> a bit old I should say 

> 
> >
> > $ bash --version
> > GNU bash, version 4.1.10(4)-release (i686-pc-cygwin)
> > Copyright (C) 2009 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
> >
> > One major problem is that it is showing only GMT time.
> > In the WinXP env, it used to show the same time as System time (GMT +05.30).
> > But here it is only GMT and it is breaking many things.
> >
> > Should I change the locale setting or the LC_TIME or TZ?
> > I tried setting :
> > set env `locale -f en_IN.utf8`
> > but cygwin says :
> > Environment variable env `locale -f en_IN.utf8` not defined
> > tzset: can't find matching POSIX timezone for Windows timezone "India
> > standard time"
> > locale -a shows an entry en_IN.utf8.
> 
> try en_IN.UTF-8
> 
> $ locale
> LANG=en_IN.UTF-8
> LC_CTYPE="en_IN.UTF-8"
> LC_NUMERIC="en_IN.UTF-8"
> LC_TIME="en_IN.UTF-8"
> LC_COLLATE="en_IN.UTF-8"
> LC_MONETARY="en_IN.UTF-8"
> LC_MESSAGES="en_IN.UTF-8"
> LC_ALL=
> 
> what tzset now ?
> 
> >
> > Googling is taking me to solutions in perl/C programs - but I want the
> > solution in plain bash script
> >
> > Any other parameter is needed to answer or am I missing something critical?
> >
> 
> 

Thanx for the fast response Marco. 
Same error as above : 
tzset: can't find matching POSIX timezone for Windows timezone "India
standard time". 

As I understand, is this a compatibility issue of cygwin with Win7? 
One of them has withdrawn support/definition for the Indian timezone? 
Any matching TZ for GMT +05.30? 

I tried running existing setup.exe v2.831 (32 bit) to update cygwin1.dll but
setup is saying that the ini file is from a newer version of setup-x86.exe
and then NL errors. Can't proceed. 

Running latest setup.exe v2.871 (32 bit) needing total install which I don't
want to do now as it might break the compilers, make et al.




--
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