Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 11:10:09 -0800 (PST)
From:      Dan Grillo <Dan_Grillo@grillo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/36501: /usr/bin/calendar can't handle recurring items in the next month
Message-ID:  <200203291910.g2TJA9Z13867@gti.grillo.net>

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

>Number:         36501
>Category:       bin
>Synopsis:       /usr/bin/calendar can't handle recurring items in the next month
>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:   Fri Mar 29 11:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Grillo
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD gti.grillo.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sun Oct 28 20:35:43 PST 2001 grio@gti.grillo.net:/usr/src/sys/compile/GTI i386

Also occurs on 4.5-RELEASE

	
>Description:

calendar allows for recurring meetings (like "every Monday") to be entered in 
calendar file in the form:

Monday	Text

Calendar is unable to compute the correct dates if the recurring item
falls beyond the current month.


>How-To-Repeat:
	

Here's an example:

	~/.calendar gti.grillo.net[28]> date
	Fri Mar 29 10:49:20 PST 2002

	~/.calendar gti.grillo.net[29]> cat calendar
	Monday  This Is every Monday

	Apr 1   This is an April 1 meeting

	~/.calendar gti.grillo.net[30]> /usr/bin/calendar -A 10
	Mar 32* This Is every Monday
	Apr  1* This is an April 1 meeting

Notice the bogus date of Mar 32, which instead should be Apr 1 also.
Once we get to April the Monday meeting with correctly show as Apr 1.


>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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