Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 16:07:41 -0600 (MDT)
From:      Scott Delinger <scott@chem.ualberta.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/51296: calendar wrong for dates based on day+-num
Message-ID:  <200304222207.h3MM7fAE001550@moriarty.chem.ualberta.ca>
Resent-Message-ID: <200304222210.h3MMAFp9033418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304222207.h3MM7fAE001550>