/[base]
ViewVC logotype

Revision 359585


Jump to revision: Previous Next
Author: gonzo
Date: Fri Apr 3 01:17:43 2020 UTC (4 years, 3 months ago)
Changed paths: 4
Log Message:
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


Changed paths

Path Details
Directoryhead/usr.bin/calendar/parsedata.c modified , text changed
Directoryhead/usr.bin/calendar/tests/calendar.calibrate modified , text changed
Directoryhead/usr.bin/calendar/tests/regress.s5.out added
Directoryhead/usr.bin/calendar/tests/regress.sh modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27