From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx07-00338601.pphosted.com (mx07-00338601.pphosted.com [185.132.180.155]) by sourceware.org (Postfix) with ESMTPS id 03BD1384F03B for ; Thu, 10 Jun 2021 15:25:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 03BD1384F03B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ext.eeas.europa.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ext.eeas.europa.eu Received: from pps.filterd (m0159273.ppops.net [127.0.0.1]) by mx07-00338601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15AFCGPc005535 for ; Thu, 10 Jun 2021 15:25:54 GMT Received: from belbru-exmp103.eeas.europa.eu ([185.239.100.44]) by mx07-00338601.pphosted.com with ESMTP id 393cfp0q82-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 10 Jun 2021 15:25:54 +0000 Received: from BELBRU-EXMP101.eeas.europa.eu (10.51.4.101) by BELBRU-EXMP103.eeas.europa.eu (10.51.4.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 10 Jun 2021 17:25:53 +0200 Received: from BELBRU-EXMP101.eeas.europa.eu ([fe80::84a9:3dc9:d6bf:719f]) by BELBRU-EXMP101.eeas.europa.eu ([fe80::84a9:3dc9:d6bf:719f%19]) with mapi id 15.00.1497.015; Thu, 10 Jun 2021 17:25:53 +0200 From: "KAVALAGIOS Panagiotis (EEAS-EXT)" To: "cygwin@cygwin.com" Subject: RE: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ Thread-Topic: Python for Windows reports wrong local time when run under Cygwin on Europe/Moscow TZ Thread-Index: AQHXXgloWr/LHS9uvkOVh/9OGMvWzasNWpMA Date: Thu, 10 Jun 2021 15:25:53 +0000 Message-ID: References: <02d5b40f-aa35-f56c-5c5c-b10780355e91@SystematicSw.ab.ca> <0fcfeb54-53c5-b83d-bb13-e83a68eed469@cornell.edu> In-Reply-To: <0fcfeb54-53c5-b83d-bb13-e83a68eed469@cornell.edu> Accept-Language: en-GB, el-GR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.51.5.118] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: wW867-jcmXlEKeUAWLBfwNQoJYzaWi8z X-Proofpoint-GUID: wW867-jcmXlEKeUAWLBfwNQoJYzaWi8z X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-10_10:2021-06-10, 2021-06-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 adultscore=0 priorityscore=1501 bulkscore=0 spamscore=0 impostorscore=0 phishscore=0 suspectscore=0 mlxscore=0 clxscore=1015 mlxlogscore=907 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106100098 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: Thu, 10 Jun 2021 15:25:59 -0000 > -----Original Message----- > Behalf Of Ken Brown via Cygwin > Sent: 10 June 2021 16:58 > Subject: Re: Python for Windows reports wrong local time when run under > Cygwin on Europe/Moscow TZ >=20 =20 > I'm not convinced it's worth the trouble. I haven't seen anyone argue th= at > it's useful for Cygwin to set TZ, and I have seen an argument that it's h= armful: >=20 > https://cygwin.com/pipermail/cygwin/2017-May/232675.html . >=20 > So I prefer Keith's second suggestion: >=20 > >> - Cygwin shouldn't set TZ at all by default. I also support that TZ environmental variable shouldn't be set by default i= n Cygwin. I don't even remember any Solaris, HP-UX, IRIX, Digital Unix, Fre= eBSD, Linux etc. setting it by default. It was up to the user to define it = and enjoy with the different output of the "date" command. It might have been introduced in Cygwin to resolve some issues on the progr= ams that need POSIX TZ format, but for the rest of the programs that still = consult the windows format will fail. It would be more reasonable to use a = wrapper script for those programs that have issues to set it explicitly to = the expected windows default format. Kind regards, Panos Kavalagios Application Architect CONSULIAT (under contract with the EEAS) BA.BS.3.IS Office: EEAS B100 Floor 5 Area 048 Rue Belliard 100, 1000 Brussels Phone: +32 2 584 6017