aboutsummaryrefslogtreecommitdiff
path: root/lib/libmilter
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2020-04-03 01:17:43 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2020-04-03 01:17:43 +0000
commitc01c8cccf5658825382bcf3e3e54834c0fc17062 (patch)
tree108a07b2caca78c60376458c2231f5a2f264a3cd /lib/libmilter
parent2b99119f6dba40f23fc41c95e2425b8a0c06b988 (diff)
downloadsrc-c01c8cccf5658825382bcf3e3e54834c0fc17062.tar.gz
src-c01c8cccf5658825382bcf3e3e54834c0fc17062.zip
Fix calculation of the recurring weekdays
Both the result of the first_dayofweek_of_year and the target weekday are zero-based (0 fo sunday) while the target month-day or year-day is 1-based. Adjust logic accordingly. Also add testcase for this PR to the kyua test suite PR: 201062 Submitted by: Richard Narron <comet.berkeley@gmail.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=359585
Diffstat (limited to 'lib/libmilter')
0 files changed, 0 insertions, 0 deletions