This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin date displays only GMT on Win7
- From: Siv <sivakumarjr at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 7 Jul 2015 19:39:37 +0000 (UTC)
- Subject: Re: Cygwin date displays only GMT on Win7
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20150707T180946-14 at post dot gmane dot org> <559C0744 dot 8050602 at gmail dot com>
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
> > 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
> 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
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple