From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SGLxNu7B22OsdwAAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 15:00:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GFCiNu7B22MScgEAauVa8A (envelope-from ) for ; Thu, 02 Feb 2023 15:00:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B7714128BB for ; Thu, 2 Feb 2023 15:00:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNa7f-0000Dr-OY; Thu, 02 Feb 2023 08:59:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNa7a-00005c-2Y for emacs-orgmode@gnu.org; Thu, 02 Feb 2023 08:59:27 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNa7Y-0000Tz-OP for emacs-orgmode@gnu.org; Thu, 02 Feb 2023 08:59:25 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pNa7V-0004yI-FW for emacs-orgmode@gnu.org; Thu, 02 Feb 2023 14:59:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: POSIX TS spec reverses the meaning of TZ offset compared to ISO (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda) Date: Thu, 2 Feb 2023 20:59:13 +0700 Message-ID: References: <877cxk6oeu.fsf@localhost> <63c86454.170a0220.80970.652d@mx.google.com> <63c8f5a6.170a0220.ea8cf.7f96@mx.google.com> <63c9b654.170a0220.d82d2.4254@mx.google.com> <87mt6e86sr.fsf@tsdye.online> <63c9d976.620a0220.a7d40.113b@mx.google.com> <87tu0mjb24.fsf@tsdye.online> <63ca1283.170a0220.5bc81.0fdd@mx.google.com> <87pmb9k8oi.fsf@tsdye.online> <3035CDD5-41DD-4516-9E4E-9E0DF16BE2E0@gmail.com> <87lelo8c9r.fsf@localhost> <2150768.1675077958@archlinux> <87tu063ox2.fsf@localhost> <87r0v9sio1.fsf@christianmoe.com> <87edr9lgq6.fsf@localhost> <87o7qdsf7h.fsf@christianmoe.com> <87v8kljz3n.fsf@localhost> <87h6w4qxcn.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US In-Reply-To: <87h6w4qxcn.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 27 X-Spam_score: 2.7 X-Spam_bar: ++ X-Spam_report: (2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.09, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675346414; a=rsa-sha256; cv=none; b=MWa1P1HeQzjfHOMSpzs+A4Ilne/S63Pgn2yykMNfvoWqhLqbLd7KHJFC367e1urp76gmqE coV47wH58tNi48D12VkBFNth4hhMYKxcoX4S2TPNf7zJYNLzCmEc+mm8LP4XcNCLTbbNx3 0cDaotgXFBJ0Qya509CSwV1bXczoeNaXa9unJlvWBeMpaIFv6hfFEa94f0THjHM1rQDhyW Ock+qIlOWCTvAoJdPCLwh4GV+BOo+4LyN3Rm1mjDFaFejABbdVs72GyRUFtHCKJPWUPszw UT2YlfKsxWoj8gwSBouZ/RE4klyNG6JKD7/TpxUWjKNqxq6C5g2l7aB9IUD9pA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675346414; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=iMH7K3nEwgrPt3Psv8GKMH7thIMDvKLM6a/j4aq0ZNo=; b=UGII2tXt63ktfLxWZXD4kBPtmHhl4GddPdqPewAmAI3CLR+OvaUQ+o2QyCU/P2eGFypya8 XDLQHSyPktu8rdFv2r84pmPVPO8zCN+QnNGbeCpCmgzLAlndRC5mE6zqKsSjvU/8/UxsgD 8xSk3G3kP2R2O0DcvOLbYGZ4MrnQih1TW4vaXaUoRyb4tornbWCUYpVe7i7QXDJKA6okdq qXvqTMjmJYk4dMJ/cIekAUt/jNl7JHOO0j2cIoSM9lBfZiKfiGd9Vn+HCLXJXmfbJ1h2lL oThGLM722Pg4lj90W9N221CnwmkyTgNNV8izlXIEFm1NmZq+adaKewjFGOSkXg== X-Migadu-Spam-Score: -1.58 X-Spam-Score: -1.58 X-Migadu-Queue-Id: B7714128BB X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: q8J8HOSZrW7k On 02/02/2023 15:34, Ihor Radchenko wrote: > Max Nikulin writes: >> Is there a strong reason to support POSIX TZ? Time zones with fixed >> offsets are available as e.g. Etc/GMT-8 (unfortunately inverted sign as >> well). > > Because `encode-time' accepts POSIX TZ as argument. So, may as well. > Note that Etc/GMT-8 is also accepted as POSIX TZ. "May" does not assume "should". I am leaving final decision to the person who will implement it though. I hope, there is no problem with such syntax on windows. The disappointing issue with POSIX syntax is the case of decision of authorities to change time zone offset. It is neither regular DST rule nor constant offset. The result is incorrect mapping between UTC and local time.