Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ
L A Walsh
Tue Jun 8 11:37:27 GMT 2021
On 2021/06/06 23:59, Mike Kaganski via Cygwin wrote:
> 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 ), I have incorrect local
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,
More information about the Cygwin