[Bug 288406] calendar(1) with -A 0 wrongly getting set to 1 in some conditions

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Jul 2025 19:07:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288406

--- Comment #3 from Tim Chase <freebsd@tim.thechases.com> ---
Created attachment 262390
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262390&action=edit
Only apply Friday logic if -A hasn't been specified

Alternatively, it might be better to use `after = -1` as a default, and if -1,
trigger the Friday logic; if it's not the default, trust that the user **really
did** want N days, not some other value.  Maybe something like this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.