diff options
author | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2020-04-03 01:17:43 +0000 |
---|---|---|
committer | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2020-04-03 01:17:43 +0000 |
commit | c01c8cccf5658825382bcf3e3e54834c0fc17062 (patch) | |
tree | 108a07b2caca78c60376458c2231f5a2f264a3cd /lib/libmilter | |
parent | 2b99119f6dba40f23fc41c95e2425b8a0c06b988 (diff) | |
download | src-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