delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/08/04:28:14

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ZSBI8vLVPrsGsI/BxGhsNsUEqQ9yUQUxokxMfUVDrJ1Y1cxXTNr1t
HbAD3mITujmzRZHjKHa8y0jrj76OAwA7Frnvk92SUhg/ER5UWfKgllIstahpEsPJ
G6/9wQHoRETN3qCZRnM7T4ALYxaggsqMcO1Wb/2zfj20VUAsDhR8tY=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=ou0g87FsfwgVxLiKWTGM44CAP/E=; b=N2lJm94T7K1ij+nXsmqIx8jH+dVC
6PKlIuX/y1gJABZsT4OzHY65i5kkb2O08A/orWXuTre8dNgYT4IBAHmeSqxc5yA9
0MXrYrVKuk+jwQx5YmQIMLm/z8fFjuDBmt5DKiQwMRkSSteEmolfX4agu9KgCpga
5sZgvNfckb8ykZ8=
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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 8 Jul 2015 10:27:53 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin date displays only GMT on Win7
Message-ID: <20150708082753.GE2918@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20150707T180946-14 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20150707T180946-14@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--yhCE4sTDB5mqd9YJ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul  7 16:39, Siv wrote:
> Hi, I just moved to Win7 from XP and installed Cygwin :=20
>=20
> Cygwin1.dll properties :=20
> File Version : 1007.28.0.0
> Product Version : 1.7.28
> Date Modified : 04-02-2014=20
>=20
> $ 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.h=
tml>
>=20
> One major problem is that it is showing only GMT time.=20
> In the WinXP env, it used to show the same time as System time (GMT +05.3=
0).=20
> But here it is only GMT and it is breaking many things.=20
>=20
> Should I change the locale setting or the LC_TIME or TZ?=20
> I tried setting :=20
> set env `locale -f en_IN.utf8`=20
> but cygwin says :=20
> Environment variable env `locale -f en_IN.utf8` not defined
> tzset: can't find matching POSIX timezone for Windows timezone "India
> standard time"

Uh oh.  Why on earth is the string returned by your machine in lower
case?!?  The default Windowes timezone name is "India Standard Time"
with upper case S and T.

The tzset application checks the value returned by the OS
case-sensitive, so, yes, it just doesn't recognize the string and fails
to set the matching POSIX timezone.

Crazy but true: After all this time it's the first report that tzset
fails because some Windows system returns timezones in different case.

I'm going to fix the tzset tool to use case-insensitve string checks.
I'm also going to upload a new Cygwin test release, 2.1.0-0.5, which
will contain the fixed tzset tool.  I'll announce it later today.
Please give it a try.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--yhCE4sTDB5mqd9YJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVnN8JAAoJEPU2Bp2uRE+gjpAQAIS09U8ZdUxpofHZDKWr5nIY
cEyny2EX2NSGr+oVUkTrKEwh2B/ilmTWTu6bAwtJ4ne/6nz0hBdPrF0CtThupRPX
/HsdGTW6nyvAetB+2j9CHZAf/BetoGFv2xtUUkBizE1/DylLAlu9i9x1XuWIm8pT
At96RRc/0Qh01pFyM7PWKmg1wUh9Yi58AC0lJalgS+K1sRQFaQ8RgAcYj6T9TdZm
driGHjZp5yG5cUSqIpndjp8BpSCaeDmkEJwb57d3vQlUk28cW5+VCVVfwJjoH8Kq
Ms1938eFS6WCVq7dUVH+00UznHiFWm78zJpocYSlI2HwaRp4N3j9rXxJUM+PdMpI
vE6D+6oQwAUQDXwTtglDYULZXwRNGpl3ceNg2VYvH7kvEWS3S8Dk2ofOd6PIshp1
yEWmIE3QXVPNYZFXbDS/W6ocSRAyt9yxit6TexwU8Zhn6+KvPYBQy9GVwNiJNn3Y
aHR4VWBnOUCIcuEGZloXaxN9GdB+DEINj/lQQi0V819QI2HfvRkDL/q6V9/dRb8F
zxIOoNBbCjDAY5JFipMP9OxAcJnPa0nDESvGWLiWQhGSTCguDtwQtMQfU+AK0E5v
ciWYwpUdOuUSKGo/6dHqPML4U1Ro+KGGt/HMglzTNg2/O0Ysy2sXTEtksS0TaSDT
6I/Li0WtV1kKg8QVtEEV
=gPb0
-----END PGP SIGNATURE-----

--yhCE4sTDB5mqd9YJ--

- Raw text -


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