delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/27/09:35:55

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=oDrHbiFAL4Bv9Pm1
ZKVoMjg8KoshI56etTr5tnnthJt17nL2y7U1kdz2wT10++ae9SkkJaREw5JN1vhR
BloGE83FyacWpFCPJzDGiH98bK5AHia+eN6haJOVIOFqIru8zVW96eoneBaRQclW
h2dZd9ECqTlQ8ddV+WZCQ9luvTQ=
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=9lw+bdhMtfeRzsDdGq84XD
ioAjg=; b=ky14lZVigq+b1rPBwr+Wvqofi7fG7Fi3L3RvN3qnmPGbI3k09w6ALH
BfUbuOJZG45UfoqbzIk3EBimqHn++0pouDywIszxrdWNRkR4FcySFrgWC0RRHDvY
0GZfztZsgDp9c6n2hQMNoD79v7azq+l9bV/bDQPdutjRJ/UyttBa0=
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=3.6 required=5.0 tests=BAYES_40,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,MIME_CHARSET_FARAWAY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*f:sk:85babbb, H*i:sk:85babbb, H*MI:sk:85babbb, H*c:gb2312
X-HELO: forward5j.cmail.yandex.net
Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Thu, 27 Oct 2016 16:23:46 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <65813448.20161027162346@yandex.ru>
To: =?gb2312?B?0O2xq9TP?= <xubaoyun622 AT 163 DOT com>, cygwin AT cygwin DOT com
Subject: Re: timezone problem running exe from console
In-Reply-To: <85babbb.2532.15803aadbc4.Coremail.xubaoyun622@163.com>
References: <85babbb DOT 2532 DOT 15803aadbc4 DOT Coremail DOT xubaoyun622 AT 163 DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u9RDZpTD031884

Greetings, Ðí±«ÔÏ!

> Hi, I'm have problem with timezone when running exe from cygwin console.

$ exe
-bash: exe: command not found

> The program I ran doesn't use the system timezone(UTC +8) but UTC instead.

> The output from console shows the timezone is right in UTC+8.
> $ date -R
> Thu, 27 Oct 2016 08:51:13 +0800

> $ tzset
> Asia/Shanghai

> Wondering what may cause the problem.

Wondering, if you can provide more details.


-- 
With best regards,
Andrey Repin
Thursday, October 27, 2016 16:22:59

Sorry for my terrible english...

- Raw text -


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