bin/51296: calendar wrong for dates based on day+-num
Scott Delinger
scott at chem.ualberta.ca
Tue Apr 22 15:10:18 PDT 2003
>Number: 51296
>Category: bin
>Synopsis: calendar wrong for dates based on day+-num
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 22 15:10:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Scott Delinger
>Release: FreeBSD 5.0-RELEASE i386
>Organization:
Dept of Chemistry, U of Alberta
>Environment:
System: FreeBSD moriarty.chem.ualberta.ca 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root at hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Calendar entries for May 2003 based on <dayofweek>[+,-]<num> fail.
The 05/SunSecond for Mother's Day results in May 21 for 2003, as does
05/SunThird for Armed Forces day
(from the /usr/share/calendar/calendar.usholidays).
The same calendar data file on an OpenBSD 3.1-beta box results in
correct values. This appears to be related to pr bin/36501
(Free-4.[4,5]-RELEASE) and pr bin/34497 (4.5-RELEASE).
>How-To-Repeat:
in calendar file, enter
05/SunSecond\tMother'sDay
05/SunThird\tArmed Forces Day
run calendar -A30 to see error. Both events are reported for 21 May.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list