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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=kdCZVHcqKfx1BcuZ p/4ibdb3zw/T1SGgDCf9futQ9hf+xg7vSArUckCuSoMdAkYHjCZv31HW5V32HAoa XIJ4sq7h1lZdci/AyrYYSW3kxHToQpupHsPQRAmOtPbbH2VIzPdKT+GsKsYjKXuJ AQ4//QKDawqLKDKBk5RlmvUY/Y0= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=5Dwh3IJXB9vS6ScmAVJcf2 thTq4=; b=H8iBO5Q3IZ35eFGYkbRIVAaIcnicG1/W6IzmDrIRyP6XETre47CTVr fKZJu3jR3Zj30SJDUTjhOW3SJ1ncBJV4ll7mBaJetQfUNC0quJWPeqYoKEkbdZlo oVi8Li6Mt0lD3hOMo6OQwfJ6W251pfKxk5TpZorl3ckmtougfiNO8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-HELO: smtp.ht-systems.ru Date: Wed, 8 Jul 2015 17:21:59 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <97650594.20150708172159@yandex.ru> To: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: Cygwin date displays only GMT on Win7 In-Reply-To: <20150708082753.GE2918@calimero.vinschen.de> References: <20150708082753 DOT GE2918 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Corinna Vinschen! >> 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" > 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. It is trivial to edit the name of timezone in registry. Which was likely done in this case. According to Microsoft's TZEDIT utility[1], the name of the timezone IS, indeed, "India Standard Time", with proper capitalization as of current Microsoft timezone update. Even if it is not, on certain system, for some reason, this is a problem that can be resolved using the same aforementioned utility. > I'm going to fix the tzset tool to use case-insensitve string checks. I doubt it is necessary. > 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. [1] http://download.microsoft.com/download/5/8/a/58a208b7-7dc7-4bc7-8357-28e29cdac52f/TZEDIT.exe -- With best regards, Andrey Repin Wednesday, July 8, 2015 16:49:51 Sorry for my terrible english... -- 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