From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Ishtar.sc.tlinx.org (ishtar.tlinx.org [173.164.175.65]) by sourceware.org (Postfix) with ESMTPS id 305003846027 for ; Tue, 8 Jun 2021 11:38:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 305003846027 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tlinx.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tlinx.org Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id 158BcJoJ002577; Tue, 8 Jun 2021 04:38:21 -0700 Message-ID: <60BF5677.9060904@tlinx.org> Date: Tue, 08 Jun 2021 04:37:27 -0700 From: L A Walsh User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Mike Kaganski , "cygwin@cygwin.com" Subject: Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ References: <5542c19d-8b1a-1f28-2003-fe9493ee9b56@mail.ru> In-Reply-To: <5542c19d-8b1a-1f28-2003-fe9493ee9b56@mail.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2021 11:38:47 -0000 On 2021/06/06 23:59, Mike Kaganski via Cygwin wrote: > Hello, > > Running Cygwin 3.1.7-1 on Windows 10 Version 21H1 (OS Build > 19043.985), I have this issue: > > when I start Cygwin's Python, I have correct time reported: > > But running Python for Windows (it doesn't matter which, specifically > for the test I used the one from MS Store [1]), I have incorrect local > time Why are you reporting a problem in Windows-Python on a cygwin list, especially when the cygwin python runs correctly? Admittedly I'd be more interested to know what happened in perl, but doubt MS wants to try supporting that can of worms. I don't see it as a bug, really, but another Win10 feature! Though as to why -- likely the windows version is getting time zone clues + correction from BOTH cygwin and Windows, like it's told its in a TZ that is at 1 time, while Windows feeds it other data that says it is 2 hours off from the default. Anyway, I assume you reported it here just to amuse cygwin users at MS's Win-Python? ;-) Long live my buggy Win7! ;-) It's so funny -- bugs that I had for 6-7 years in Win7, they finally told me would be fixed in Win10. But recently, saw the same bug/prob being reported in Win10 -- and MS still doesn't know the problem. So checked a some settings and found out how to fix it on Win7, but only