From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs,gmane.emacs.orgmode Subject: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones Date: Wed, 20 Apr 2022 11:29:01 -0700 Organization: UCLA Computer Science Department Message-ID: References: <5ed963b2-3fa8-48d8-627e-bc0571d15b43@gmail.com> <149de00f-115b-5367-414f-c7700ef8966b@cs.ucla.edu> <2dd15844-01b3-0144-740c-185ec8488a81@cs.ucla.edu> <4a23f3a4-fe8f-d396-49d8-10034803be63@gmail.com> <52fb10fb-892a-f273-3be8-28793f27e204@cs.ucla.edu> <5cd820d4-ae67-43d4-9e63-c284d51ff1e4@gmail.com> <25d90a4b-f47d-01b4-2bfe-9951e97fe676@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31126"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Cc: emacs-orgmode@gnu.org, 54764@debbugs.gnu.org To: Max Nikulin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 21:20:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhFsE-0007wZ-9N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 21:20:22 +0200 Original-Received: from localhost ([::1]:45240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhFsD-0006fg-9O for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 15:20:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhF5X-0006iu-SM for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 14:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhF5W-0004cH-PT for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 14:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhF5W-00080e-JG for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 14:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2022 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54764-submit@debbugs.gnu.org id=B54764.165047935030694 (code B ref 54764); Wed, 20 Apr 2022 18:30:02 +0000 Original-Received: (at 54764) by debbugs.gnu.org; 20 Apr 2022 18:29:10 +0000 Original-Received: from localhost ([127.0.0.1]:47441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhF4f-0007z0-Ro for submit@debbugs.gnu.org; Wed, 20 Apr 2022 14:29:10 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhF4e-0007ym-18 for 54764@debbugs.gnu.org; Wed, 20 Apr 2022 14:29:08 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 897321600B3; Wed, 20 Apr 2022 11:29:02 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tOGuFoLldJh0; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DA5F91600C0; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tARiEbo9sOMQ; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A66791600B3; Wed, 20 Apr 2022 11:29:01 -0700 (PDT) Content-Language: en-US In-Reply-To: <25d90a4b-f47d-01b4-2bfe-9951e97fe676@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230325 gmane.emacs.orgmode:144634 Archived-At: On 4/20/22 08:07, Max Nikulin wrote: > I have not checked if mktime is a part of > POSIX and C standard. mktime is part of both the C standard and POSIX. POSIX extends the C standard by saying that time_t is an integer type (the C standard allows time_t to be a floating-point type) and that time_t counts non-leap seconds since the Epoch (the C standard doesn't say what time_t counts, thought it implies that it counts seconds from some origin, which may not be 1970). > I still believe that optional DST and ZONE values is an improvement of > the `encode-time' interface with no real drawbacks. Yes, that's the direction we're headed.