From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71572: [PATCH] seconds-to-string-approximate Date: Thu, 04 Jul 2024 09:04:18 +0300 Message-ID: <86frspae1p.fsf@gnu.org> References: <86r0cpicwt.fsf@gnu.org> <86msmxafog.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32128"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, 71572@debbugs.gnu.org, jonas@bernoul.li, eggert@cs.ucla.edu To: jdtsmith@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 04 08:05:21 2024 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 1sPFar-00081d-9W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Jul 2024 08:05:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPFad-0000uX-RK; Thu, 04 Jul 2024 02:05:07 -0400 Original-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 1sPFaX-0000ip-Kl for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 02:05:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPFaW-0003ne-Md for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 02:05:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPFaY-00032P-HU for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2024 02:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2024 06:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71572-submit@debbugs.gnu.org id=B71572.172007307411631 (code B ref 71572); Thu, 04 Jul 2024 06:05:02 +0000 Original-Received: (at 71572) by debbugs.gnu.org; 4 Jul 2024 06:04:34 +0000 Original-Received: from localhost ([127.0.0.1]:41273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPFa6-00031W-9n for submit@debbugs.gnu.org; Thu, 04 Jul 2024 02:04:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPFa3-00031I-CZ for 71572@debbugs.gnu.org; Thu, 04 Jul 2024 02:04:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPFZr-0003dF-Od; Thu, 04 Jul 2024 02:04:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bMXLgTyZSVbqDUO65JuvpEs4PpClp1/5uhDu95/dOnM=; b=GLj/2I90nZVc rqSmzjGc6at4FelUthRCAjz25NYPdHXVkUQcYv8og2Vb2QUiwV3VPBlje20e5SdmDaSwOzq/Lwikv GM22DnOwkMhKzq5/OxZyyDa5tgnjWwiPgBXUsyNIsCiG7TJJPhMY9YEQmwAdgL3NGfhATZpzkkAkO jLzhfHOJvWOjW4J2MIFzzil87S3VKjY7pXrtOrqMjdEixHYvPqmBCR3hzQGxhtPs0YezHmT3JJG9G nPPdN4dDXSMwhvABH3zpQVn1uRudLt7FHDX2iNWScUwswpHH8Jza3RYWUu7BbdlF9wR/ZGaRTGWbx NLy7A4WsveuB0HHOEgKgcw==; In-Reply-To: <86msmxafog.fsf@gnu.org> (message from Eli Zaretskii on Thu, 04 Jul 2024 08:29:03 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288348 Archived-At: > Cc: adam@alphapapa.net, 71572@debbugs.gnu.org, jonas@bernoul.li, > eggert@cs.ucla.edu > Date: Thu, 04 Jul 2024 08:29:03 +0300 > From: Eli Zaretskii > > Basically, this shows that: > > . mastodon truncates where seconds-to-string rounds > . seconds-to-string lacks the "1 hour 11 min" output format > . seconds-to-string sometimes produces inaccurate results, as in > 5.5 => 5.48s > > The last item worries me: can we fix this, please? > The second item sounds like a useful feature, so maybe an optional > behavior could provide it as well? And one more nit: should this function be described in the ELisp manual?