/[base]
ViewVC logotype

Revision 359782


Jump to revision: Previous Next
Author: gonzo
Date: Fri Apr 10 22:18:13 2020 UTC (4 years, 2 months ago)
Changed paths: 6
Log Message:
MFC r359585, r359587

r359585:
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>

r359587:
Remove hardcoded US Election Day from calendar.usholiday

calendar(1) syntax is not capable of representing the rules for the
US Election Day. The hardcoded date was set in r15066 in 1996 and
hasn't changed since then.

PR:		173389
Reported by:	Steve Ames <steve@energistic.com>


Changed paths

Path Details
Directorystable/12/ modified , props changed
Directorystable/12/usr.bin/calendar/calendars/calendar.usholiday modified , text changed
Directorystable/12/usr.bin/calendar/parsedata.c modified , text changed
Directorystable/12/usr.bin/calendar/tests/calendar.calibrate modified , text changed
Directorystable/12/usr.bin/calendar/tests/regress.s5.out
(Copied from head/usr.bin/calendar/tests/regress.s5.out, r359585)
added
Directorystable/12/usr.bin/calendar/tests/regress.sh modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27