Up to [local] / src / usr.bin / calendar
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_0
Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 13 21:32:01 2016 UTC (7 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 (colored)
When matching a day in the month, make sure that the date is still in the month we are interested in after calling mktime(3). This fixes things like Sunday+5 for months where there is not a 5th Sunday and the 31st day in months with less than 31 days. From Andy Bradford