Better definition of prev_monday in man page.

This commit is contained in:
David F. Skoll
2007-08-21 18:54:53 -04:00
parent 390e6c2eed
commit 0f15955a41

View File

@@ -2262,7 +2262,7 @@ day is Thursday, but if any of Monday through Thursday of a week is a holiday,
the collection day moves to Friday. Here's one way to solve it:
.PP
.nf
FSET prev_monday(x) x - (coerce("INT", x) % 7)
FSET prev_monday(x) x - wkdaynum(x-1) % 7
REM Thu Fri SATISFY [wkdaynum(trigdate()) == 4 && \\
nonomitted(prev_monday(today()), today()+1) == 4 || \\