From unknown Wed Jun 18 23:17:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36549 <36549@debbugs.gnu.org> To: bug#36549 <36549@debbugs.gnu.org> Subject: Status: 27.0.50; decode-time doesn't support sub-second times Reply-To: bug#36549 <36549@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:17:04 +0000 retitle 36549 27.0.50; decode-time doesn't support sub-second times reassign 36549 emacs submitter 36549 Lars Ingebrigtsen severity 36549 wishlist tag 36549 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 09:11:09 2019 Received: (at submit) by debbugs.gnu.org; 8 Jul 2019 13:11:09 +0000 Received: from localhost ([127.0.0.1]:58048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkTQD-0005Va-4k for submit@debbugs.gnu.org; Mon, 08 Jul 2019 09:11:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:40063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkTQB-0005VT-6h for submit@debbugs.gnu.org; Mon, 08 Jul 2019 09:11:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49178) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkTQ9-0001dV-VQ for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 09:11:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkTQ2-000465-Kb for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 09:11:00 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkTQ0-000422-Ll for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 09:10:57 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkTPt-0001XF-N4 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2019 15:10:52 +0200 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 27.0.50; decode-time doesn't support sub-second times Date: Mon, 08 Jul 2019 15:10:49 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) (current-time) => (23843 16275 300006 490000) (decode-time '(23843 16275 300006 490000)) => (23 5 15 8 7 2019 1 t 7200) (decode-time '(23843 16275 100006 490000)) => (23 5 15 8 7 2019 1 t 7200) So there's no way to represent the microseconds (or the picoseconds) in the decoded time structure, which makes round-tripping inaccurate. (And you can't build a parser for time formats with sub-second time based on the decoded time structure, which is a pain.) I guess the best way to fix this would be to add the micro- and picoseconds as (optional) fields at the end of the decoded time list? It's not very elegant, but it'd be backwards compatible. A different approach would be to make the seconds field something else than an integer, but that would introduce more potential problems, I think... In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2019-07-07 built on stories Repository revision: bda8a57141e6cb5455e1246c6ab394791fd6c582 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9 (stretch) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 11:07:20 2019 Received: (at control) by debbugs.gnu.org; 15 Jul 2019 15:07:20 +0000 Received: from localhost ([127.0.0.1]:48734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn2ZU-0003oa-8t for submit@debbugs.gnu.org; Mon, 15 Jul 2019 11:07:20 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:43221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn2ZS-0003oO-N1 for control@debbugs.gnu.org; Mon, 15 Jul 2019 11:07:19 -0400 Received: by mail-io1-f54.google.com with SMTP id k20so34560131ios.10 for ; Mon, 15 Jul 2019 08:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=wgX+n1QrjIpOr2X9JkcmGRMLSLGcs+6dBbkHKD8IjKQ=; b=MeU9ZhjQN2wg1eL0TxADYWZQxmKVm03rjKr3/frRIMXB1vtTYSuzGyzvuDftPphiMd NEYo3+S8DTs7sNw+OvlfIqQyYL4gp5ZXZGmgCpAXsjMNRXojqQbspbsNDxDalqGDEzRn DEfPB6jOg626EmaClAdCB7UxUR3lzFORM6AeWcFSV1NeiXgXZRe+t1lqcaJKSvVNFkA7 Vc6sU7mWEvXCkdM5R6H3rKGbd20nFhSed7R2E9YCaIlAnOtybO9y30RQZzfAQpB1MW8x DoyKDi6tE7XU1Mx0PL8QndsKgf3Ec2rGhnIcYewUBx2bz7RP5+eVUJ6w+Flx1es5RVFS mPHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=wgX+n1QrjIpOr2X9JkcmGRMLSLGcs+6dBbkHKD8IjKQ=; b=VnqGVmIx71+gMp0PxxBWowcE4FbH7dVzX4WTEcDU2IDna29P78cCq4wXeKKN2deqXy m4vPqDtHHPWzMWZN6wGejYlokF773+ZY1SM6Ci28A7ZHijanKqDeT2jJ+ZbQJdplo+GP P8SH0ySzqyH721Dc6v68vDEOvhwZN5fECGFK39Si/WwbH9qGY8Jr0YwlCVhn7zdq568p rbYSSo0cT9sdozVzBiiq1fxb0oEYTX95zUe+1a8JEKW6iJNp/nB4TJ6X0xf3miTOXUo/ y3FXgOCQnu/TmWQ/4xDb6ZW/ixAiQxDXjj8/g4EeGro2DkQn73nd74avRhsDtolO+5KM bC7Q== X-Gm-Message-State: APjAAAWK3151Ukpy4TF3EghhisQxyODPcCLVITXDL4ppSt7VKPEtTOM5 AKyZs0PgAtkYQVWlwMvHAcl/Me4Z X-Google-Smtp-Source: APXvYqwcFTOMGN6AMU/9FJEO5E+UzVhLLlemSfNfKQAEohZvyOo+JEyjWEcEP2+T9Qt/W0LjGhkULg== X-Received: by 2002:a6b:7d49:: with SMTP id d9mr13336199ioq.50.1563203232914; Mon, 15 Jul 2019 08:07:12 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id t19sm19537506iog.41.2019.07.15.08.07.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jul 2019 08:07:12 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #36549 Date: Mon, 15 Jul 2019 11:07:11 -0400 Message-ID: <85sgr7l4kg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) severity 36549 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 26 01:01:59 2019 Received: (at 36549) by debbugs.gnu.org; 26 Aug 2019 05:01:59 +0000 Received: from localhost ([127.0.0.1]:45394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i278h-00031b-9S for submit@debbugs.gnu.org; Mon, 26 Aug 2019 01:01:59 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i278f-00031P-HJ for 36549@debbugs.gnu.org; Mon, 26 Aug 2019 01:01:57 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i278c-0003al-3x for 36549@debbugs.gnu.org; Mon, 26 Aug 2019 07:01:56 +0200 From: Lars Ingebrigtsen To: 36549@debbugs.gnu.org Subject: Re: bug#36549: 27.0.50; decode-time doesn't support sub-second times References: Date: Mon, 26 Aug 2019 07:01:53 +0200 In-Reply-To: (Lars Ingebrigtsen's message of "Mon, 08 Jul 2019 15:10:49 +0200") Message-ID: <8736ho7c5a.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: This has now been implemented by Paul on the trunk and I'm closing the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36549 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This has now been implemented by Paul on the trunk and I'm closing the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 26 01:02:03 2019 Received: (at control) by debbugs.gnu.org; 26 Aug 2019 05:02:04 +0000 Received: from localhost ([127.0.0.1]:45398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i278l-00032G-JS for submit@debbugs.gnu.org; Mon, 26 Aug 2019 01:02:03 -0400 Received: from quimby.gnus.org ([80.91.231.51]:47336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i278k-00031z-CE for control@debbugs.gnu.org; Mon, 26 Aug 2019 01:02:02 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i278h-0003ar-Qz for control@debbugs.gnu.org; Mon, 26 Aug 2019 07:02:01 +0200 Date: Mon, 26 Aug 2019 07:01:59 +0200 Message-Id: <871rx87c54.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #36549 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 36549 fixed close 36549 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 36549 fixed close 36549 27.1 quit From unknown Wed Jun 18 23:17:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 23 Sep 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator