GNU bug report logs - #71572
[PATCH] seconds-to-string-approximate

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Sat, 15 Jun 2024 17:25:01 UTC

Severity: wishlist

Tags: patch

Merged with 71573

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: john muhl <jm <at> pub.pink>
To: JD Smith <jdtsmith <at> gmail.com>
Cc: Adam Porter <adam <at> alphapapa.net>, 71572 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Jonas Bernoulli <jonas <at> bernoul.li>, Paul Eggert <eggert <at> cs.ucla.edu>
Subject: bug#71572: [PATCH] seconds-to-string-approximate
Date: Sun, 15 Dec 2024 17:26:04 -0600
JD Smith <jdtsmith <at> gmail.com> writes:

>  On Dec 8, 2024, at 4:17 AM, john muhl <jm <at> pub.pink> wrote:
>
>  Thanks for working on this. I gave a quick try and noticed some
>  amounts aren’t pluralized how I expect; e.g.
>
>   (seconds-to-string 36541462 'expanded nil 1)
>   ;; "1 year 1.9 month"
>
> Thanks again.  This was another small bug in the units for the first expanded
> term.  Corrected (final?) patch attached.  Could you please give another quick
> test?

Works for all my test cases. Thanks.




This bug report was last modified 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.