delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/06/08/07:39:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
Message-ID: <60BF5677.9060904@tlinx.org>
Date: Tue, 08 Jun 2021 04:37:27 -0700
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Mike Kaganski <mikekaganski AT mail DOT ru>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Python for Windows reports wrong local time when run under Cygwin
on Europe/Moscow TZ
References: <5542c19d-8b1a-1f28-2003-fe9493ee9b56 AT mail DOT ru>
In-Reply-To: <5542c19d-8b1a-1f28-2003-fe9493ee9b56@mail.ru>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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