Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-10 Thread Mike Kaganski via Cygwin
On 08.06.2021 14:37, L A Walsh wrote: 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 Window

Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-08 Thread Mike Kaganski via Cygwin
On 08.06.2021 16:04, L A Walsh wrote: You might ask on a python list if anyone else has experienced something similar with python or any other program.  I'm fairly sure that neither MS nor cygwin design their OS with python in mind and that it is python that is interacting funny when running unde

Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-08 Thread Mike Kaganski via Cygwin
On 08.06.2021 16:57, L A Walsh wrote:     You aren't getting that answering questions *IS* a form of support. LOL. Please see how I do this support: https://ask.libreoffice.org/en/users/ I know it all. I answer others' questions. What I was talking about was that I didn't demand, and didn't e

Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-08 Thread Mike Kaganski via Cygwin
On 08.06.2021 16:04, L A Walsh wrote: Look in its environment and remove any thing for timezone and try that. Thanks to this great suggestion, I was able to workaround this problem - thanks! Wrong result (using the TZ present in environment, i.e. TZ=Europe/Moscow): $ "C:/Program Files/Win

Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-08 Thread Mike Kaganski via Cygwin
On 08.06.2021 16:04, L A Walsh wrote: On 2021/06/08 05:28, Mike Kaganski wrote: No, I report a problem that a native program runs incorrectly *under Cygwin*, because Cygwin is indeed part of the picture. --- The problem is in the MS-Win term program.  If you report it to them and tell the

Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-08 Thread Mike Kaganski via Cygwin
On 08.06.2021 14:37, L A Walsh wrote: 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 Window

Re: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-08 Thread Mike Kaganski via Cygwin
On 08.06.2021 7:34, Russell VT wrote: What version(s) of the timezone files are installed on each? Cygwin: $ cygcheck -c | grep tz tzcode 2021a-1 OK tzdata 2021a-1 OK Windows: I didn't find a TZ-specific update KB in the list of installed upd

Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ

2021-06-07 Thread Mike Kaganski via Cygwin
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: mikek@DESKTOP-8SHAE9Q ~ $ python Python 3.8.9 (default, Apr 21 2021, 23:14:29) [GCC 10.2.0] on cygwin Type "help", "copyright", "credi