delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/07/12:45:33

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:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=JR0
wPW4OKLb7IucY9wPu0uyAgD5a+vspMUJ0khgpakAQHhuO5o5UudTEW+6lXfbPVlI
/JOchBINaJ8ELy1fSE9TULiLaHWcZ4V/bNMtlZ57bO4XCKbKyFjT3L6yka+Dh7Yc
3aHrLxS29HRw+4DgmK3BqiBOd1hM+j4NSZdXwJVY=
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:mime-version
:content-type:content-transfer-encoding; s=default; bh=c91Myaw3W
5BiFFQId98ZAURuctI=; b=HVpOuKFbmvu+D461vB/DwjZSKH0JTKWXyFsKn9wKa
hSHMlNlCQB/DOyskrj/pYTHQV3+MiuswaCNXwuzPfELndZhu+4tHXrl/ZFBn6eiz
uPBMPsJEsgxoYG4XmPhISPyyyJypUoEZ+Fj+Hj1WKd/qO/v6ixwf3COkH3CHmiyW
3w=
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.6 required=5.0 tests=BAYES_40,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: Cygwin date displays only GMT on Win7
Date: Tue, 7 Jul 2015 16:39:56 +0000 (UTC)
Lines: 31
Message-ID: <loom.20150707T180946-14@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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 

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

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? 




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