bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43677: 27.1; Calc holidays off-by-one error, incorrect business day


From: Lars Ingebrigtsen
Subject: bug#43677: 27.1; Calc holidays off-by-one error, incorrect business day calculation
Date: Wed, 30 Sep 2020 15:40:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Mattias Engdegård <mattiase@acm.org> writes:

> Since the bug is a regression -- it is present in Emacs 26.1 but not
> in 22.1.1 -- it may be a good idea to find out exactly what change
> introduced it, and work from there. That might reduce the risk of
> causing secondary bugs.

That's quite a stretch to be bisecting, though...  What's the best test
function here?

(require 'calc-forms)
(math-from-business-day 526951)
=> (date 737732)

while it should be 737731?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]